Nette/Tester is unit testing tool specifically designed for PHP Nette Framework.
Questions tagged [nette-tester]
5 questions
2
votes
1 answer
How to test response of successful form submit in presenter test with nette tester
I want to test the sign in presenter action with form submit and correct response in redirect. E.g. I want to test that after correct login, user is redirected somewhere and flash message with text "login successful" is displayed.
In all the…

Josef Sábl
- 7,538
- 9
- 54
- 66
1
vote
0 answers
Can I use tests written with Nette Tester with Jenkins
I need to make a continuous integration mechanism with some framework. The first on my mind was Jenkins but the whole project what I wanna test is written in Nette framework. So I want to use Nette Tester but all videos about the topic are using…

Rudolf Nosek
- 21
- 1
- 4
0
votes
1 answer
Class from PHAR not found
I want to use the PHAR from nette-tester V1.7.1 ... and build a simple script that runs a test, but i fail at a very basic level.
The class Tester\Runner\CliTester is correct and available within the PHAR, but is not found.
Composer is no option…

Benjamin Eckstein
- 884
- 2
- 9
- 19
0
votes
2 answers
Nette Tester: MySQLi not working
Normally, in apache via mod php it works perfectly fine, but if I try function_exists('mysqli_init'), function does not exist.
Other errors shown:
Call to undefined function mysqli_connect()
Class 'MySQLi' not found in
Why MySQLi isn't…

david8
- 444
- 9
- 23
-1
votes
1 answer
Netbeans with Nette\Tester code coverage results in: No tests executed
I have a simple PHP project set up in Netbeans with Nette\Tester for unit tests. When I execute tests without code coverage everything works as intended. However when I turn code coverage feature on I get message "No tests executed for project…

Josef Sábl
- 7,538
- 9
- 54
- 66