Ishi01 / CITS5505Group41Project

CITS5505 Agile Web Develoment Group Project
MIT License
1 stars 0 forks source link

Unit and System tests #21

Closed stuar7 closed 5 months ago

stuar7 commented 6 months ago

This issue is aimed at the creation of the structure and files required for testing (not the progress of implementing the test).

Decision making about what methods are needed to isolate the system under test (SUT). This involves test doubles, fakes, stubs, and mocks.

Changes to Flask structure:

Unit Tests: Unit tests should ensure individual functions to ensure they behave correctly. In general, a function requires typically between 2-5 unit tests. Unit tests should be automated, repeatable, run quickly, pinpoint failure, and limited in scope.

To create the unit tests, we will utilise the unittest package, assertion methods and assertion libraries.

System tests: System tests depend on the end user environment, this means testing how well the behaviour of the application works in the browser. Selenium will be used automate browsers to run test cases.

cloud9ight commented 5 months ago

comprehensive session test using FileSystemCache from CacheLib

stuar7 commented 5 months ago

Beginning of testing started with #40

stuar7 commented 5 months ago

Complete with #40