Continuous Integration (CI)

Welcome to the discussion about this lecture. Here you can ask questions or post feedback about this specific lecture.

3 Likes

A story. Back in the 70s early 80s one did coding on punch cards and you were allowed only one test run per day. That meant when you finished coding you asked a senior developer to review your code (human test run) and once he/she gave the green light you went to run the real test.

Also, if you had for example one of the cards in the wrong order the code could not be tested but you lost the run and had to wait one day to run the test.

2 Likes

Jenkins will be my best friend! :wink:

1 Like

Hi @ivan is there any other recommendable software apart from Jenkins that is good for schedulling Integration Testing?

Here are some websites that point in another alternatives:

Hope you find this useful. :slight_smile:

If you have any doubt, please let us know so we can help you!

Carlos Z.

1 Like

Can the code 100% reverted in the continuous integration check?
@thecil

To be honest, I do not understand quite well the question, why would you revert 100% of the code? when you have all the unit testings, integration testings, testing repositories?

Maybe you could detail a little bit more the question so i can understand it better.

Carlos Z.

Hi Carlos, it is more in general how is code cleaned up if it is not approved (on the etherium network).

1 Like

Ooook, now, there is now way to update an Smart Contract code once is deployed in the main network (ethereum in this case), you could have a function to destroy the contract, but impossible to “update” or “cleaned”, that’s the main reason to use Unit Testings, so you can play around with your code and do all the proper tests that you need to, but you must be sure that your code is completely free of bug and back doors before deploy it in the main network (test networks are the best way to get the closest real scenario possible before jumping into the main network).

So just to be clear, there is no way to clean a code or approve a code in the main network, for that reason you use test networks and Unit testings.

Hope this gives you a clear picture of the subject.
If you have any more questions, please let us know so we can help you! :slight_smile:

Carlos Z.