Skip to content

Teach your detective how to crack each (test) case!

License

Notifications You must be signed in to change notification settings

charjr/TDDetective

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Test Driven Detective

Train the Test Driven Detective in Test Driven Deduction using Test Driven Development.

First Task

Run the tests, you'll find several cases set out already, but the detective can't solve() them!

Add solve() to the detective, you should be able to solve the first three cases without touching any other file.

Second Task

Add a Witness class to help the detective out, the Witness should be able to take a list of arguments to describe what they saw.

This task will require you to refactor more than just the detective, you may even need to refactor the tests.

Third Task

Make the crimes tougher, the detective smarter.

Add your own unique twist.

About

Teach your detective how to crack each (test) case!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published