Skip to content

PillarTechnology/MockRandori.py

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Randori Exercise

  1. Write a test that fakes the response from Pants.pull

  2. Write a test that fakes the response from Moon.shoot

  3. Write a test that mocks the constructor of Moon, replacing Moon with a Mock

  4. Write a test that detects the arguments of Mathy.add

  5. Write a test that fakes the response of Mathy.add for any call

  6. Write a test that fakes the response of Mathy.add for a specific call (say 2+2 = 5)

  7. Write a test that fakes the response of Mathy.add to throw and exception

  8. Write a test that fakes the response of Mathy.add for more than one set of arguments (say 2+2=5, 3+3=9, 4+4=14)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%