Finished week 2 videos of ‘Continuous Delivery & DevOps’ in Coursera. The notes are as follows:
- The Given-When-Then pattern of testing
- Given [a circumstance],
When [the user does something]
Then [expected change in state]”
- Given [a circumstance],
- Should have only about 5 to 20 system level tests.
- Google rule of thumb: 70/20/10
- Unit/Integration/System
- Google rule of thumb: 70/20/10
- mentioned Unit/Integration technologies
- Junit – Java
- Jasmine – JS
- Karma – Angular (uses Jasmine)
- During unit testing
- create functions that are not being tested as ‘stub’ functions
- test off of those when testing a particular function
- spyOn in jasmine does this much easier
- With system level testing, most useful with microservices
- focus on critical components of the application
- The system level tests are those tests that cannot be tested within Integration or Unit tests. Otherwise test there
- Cucumber and Selenium are mentioned technologies for system tests
I have also completed a section of Stepik ‘Data Structures’ learning course, earning a few achievements there. This is a course about the basics of data structures, and appears to be pretty comprehensive. I am still in the beginning phase of this course work, so only time will tell how much I will gain from this.
After doing a bit of research and analysis, I have decided to make use of multiple web service platforms for the development and delivery of this application. This way I will stay within the free tier of all the services provided and gain experience in multiple platforms and methods. Amazon Web Services Free Tier services, Google Cloud Platform Free Tier and Microsoft Azure Always Free services are the current platforms that I have researched today. There may be other ones out there, and with the combination of all of the platforms, a micro service based development pattern could be created encompass the whole of the application functionality. I do not believe I will meet the goal of gaining a fully setup pipeline by the end of this week. If tomorrow (today) I am unable to do so, I will work through the weekend and holiday so that Tuesday I will be able to start putting together the solutions. Either way, the weekend will be filled with more lessons.