Skip to content

Commit 913e376

Browse files
authored
Removed useless information from images.
1 parent 5e6d06f commit 913e376

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ I made this tdd app during a [Coursera bioinformatics course](https://en.courser
99

1010
So, as I already had all the datasets before starting programming, I could see as a **`Test Driven Development`**. I decided to fully automate the process, so I made a database with a table. Each entry has 3 fields: method name, input data and output data. I made an app that opens the database, and for each entry reads the name of the method, creates a call to that method using reflection, passes the data input as a parameter and gets its response. Then, compares the actual response with the expected output in the database.
1111

12-
![sample io in sqlite database.png](https://cloud.githubusercontent.com/assets/17472377/20877789/50db77e8-bacb-11e6-9aaf-99094676c7a8.png)
12+
![sample io in sqlite database.png](https://cloud.githubusercontent.com/assets/17472377/20883201/2ace5cea-bae5-11e6-9c1b-b47deb6a51fb.png)
1313

1414
Well, actually it's a bit more complicated: the method is not actually called by my app. Instead, it creates a test suite using **`PyUnit`** (Python's equivalent to JUnit), and creates one test case for every method in the database. But you get the idea.
1515

1616
### That's enough drag. I wanna see it working!
1717

1818
So... Have you already tried to run it!?
1919

20-
![no module named foo.png](https://cloud.githubusercontent.com/assets/17472377/20877793/574d2eaa-bacb-11e6-8a8c-6b678629d421.png)
20+
![no module named foo.png](https://cloud.githubusercontent.com/assets/17472377/20883209/37bad6b8-bae5-11e6-9a56-4508edfaf3e1.png)
2121

2222
Ok, if you do so, you'll get an error saying "No module named 'foo'". That's because the app run in a module called `test_foo.py` expects to find the methods to test in `foo.py`. More generically, `test_<module>.py` looks for methods in `<module>.py`.
2323

0 commit comments

Comments
 (0)