It's important to create tests for functions before actually implementing their functionality, so setting up a good testing suite early will be very helpful for the rest of development.
Week 9's lab on testing suggests chapter 8 of the mega tutorial. The tutorial recommends using the unittest package for testing python scripts.
The lab also recommends Selenium, so it would be good to get both ready to go for our project development.
To set up the testing suite:
[x] Make some tests with the unittest package on a dummy function
[x] Try creating some automated tests with Selenium
It's important to create tests for functions before actually implementing their functionality, so setting up a good testing suite early will be very helpful for the rest of development.
Week 9's lab on testing suggests chapter 8 of the mega tutorial. The tutorial recommends using the
unittest
package for testing python scripts.The lab also recommends Selenium, so it would be good to get both ready to go for our project development.
To set up the testing suite:
unittest
package on a dummy function