Testing.md 1012 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13


# Testing Kumiko

Small changes in code often lead to many and unexpected panels to be detected differently.

To have an overview of the consequences of code changes, a testing tool is provided.


# tester.py

Basically switch to `kumiko` top-level directory and run:

njean42's avatar
njean42 committed
14
`./tester.py --html`
15
16
17

This will run *Kumiko*, your modified version, on all the comic page templates provided under `./tests/images/`.

njean42's avatar
njean42 committed
18
But it will also run *Kumiko*'s previous version on the same files and check the differences!
19
20
21
22


# Results

njean42's avatar
njean42 committed
23
An HTML file is generated under `./tests/results/` that you can open locally (add `-b firefox` to open it automatically).
24
25
26

It will show you all the differences between the previous git version and yours!

27
Take a look at the differences between *Kumiko* versions:
njean42's avatar
njean42 committed
28
29
30
* [v1.2.1 and v1.2](https://kumiko.njean.me/tests/results/diff-v1.2-v1.2.1.html)
* [v1.2 and v1.1](https://kumiko.njean.me/tests/results/diff-v1.1-v1.2.html)
* [v1.1 and v1.0](https://kumiko.njean.me/tests/results/diff-v1.0-v1.1.html)