Tests - basic testing via Nette\Tester
Closed this issue · 7 comments
I have some tests in here - https://github.com/haltuf/Gopay
Would it be sufficient?
@haltuf It looks great.
Could you..?
- Split tests and Travis CI
- Squash all tests commits to one
- Squash all CI commits to one
- Add empty line to end of files
- Send PR 1 - tests
- Send PR 2 - CI
Sure, I will. Sorry for being dumb, but can you explain/link some info about "Add newline to end of files"?
Does it mean just adding new empty line to every file, or does it mean something more profound?
Yes, adding new empty line. Sorry for typo.
@haltuf Thanks. Could you run tests with this branch? https://github.com/f3l1x/Gopay/commits/patch-17 You have to set channels via extensions
channels:
gopay: Gopay - Elektronická peněženka
Or manually via $service->addChannel($service::METHOD_CARD_UNICREDITB, 'Gopay - Elektronická peněženka')
If you manage to merge your changes with haltuf@3cc7297, then now the tests are passing on your branch patch-17.