Skip to content

Tutorial in how to use TextTest when the program you want to test has dependencies that you need to mock

License

Notifications You must be signed in to change notification settings

texttest/tutorial_mocking_dependencies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TextTest Tutorial - Mocking Dependencies

Instructions

Prerequisites - do the TextTest tutorial part 1 before this one. Also, you will need to install the tool 'capturemock'.

Do the exercises in the order below. Look at the branch 'with_tests' for sample solutions.

For each exercise, change directory into the subfolder and start texttest there. An initial texttest config file is provided. The basic idea is to test the program given as 'executable'. Your tests should cover all the main functionality of the program and pass reliably. There may be additional instructions in a readme file in the exercise folder.

Exercises

  • Current Time - current_time_system (only works on unix currently)
  • Pet Store - petstore

About

Tutorial in how to use TextTest when the program you want to test has dependencies that you need to mock

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published