Questions tagged as 'tdd'

1
answer

Error executing unit test in KarmaJS

Good afternoon, When running the unit test in KarmaJS I have the following errors: I use AngularJS with RequireJS, AngularAMD and Instanbul.    ReferenceError: Can not find variable: module And when I change the line in the test.spec....
asked by 05.07.2018 / 19:23
1
answer

Codeception's see () method with Yii2 does not display the entire content of the page

Hello! I'm testing a PHP system (7.2.1) that uses the Yii2 framework, and for that, by default I'm using codeception. When writing functional tests, several methods are not working as expected. Among them is the see () method that should fetc...
asked by 22.05.2018 / 21:33
1
answer

PHPUnit does not work

I'm trying to run tests on my project, but PHPUnit does not work! I'm trying to run it, via composer ( vendor/bin/phpunit ). However, nothing happens ... I no longer know what to do to make it work. In other projects, everything works norm...
asked by 17.01.2018 / 16:26
1
answer

Error Syntax! Java + XML

The database must be implemented in SQLite and should have the tables; tbprevisao e tbcidade The system should keep the data of the cities already consulted in order to avoid having to search the CPTEC service for the city code with each new...
asked by 23.11.2017 / 17:23
1
answer

Play Framework TDD exception testing routes

I'm studying the Play Framework with Java and the documentation has a sample route test at the end of this page: Doc Play Framework But when trying to run the test it responds with one exception because the route in question does not exist....
asked by 11.12.2015 / 18:07
1
answer

Karma + mocha Error with module Angularjs

Summary I'm creating a seed for modular design with AngularJS + Browserify + BabelJS. I'm implementing the unit test part. Problem When I call the angular module it returns me the error    TypeError: module is not a function       at...
asked by 02.10.2015 / 21:33
1
answer

How to give coverage for tests in completed Rails applications? [closed]

TDD is usually used during development. But when you get into a company, pick up the whole code zapped and see the urgent need for improvements and of course, coverage of tests? How to proceed? How do I test if all functionalities are implemente...
asked by 26.09.2014 / 22:17
1
answer

Installing PHPUnity SkeletonGenerator requires ConsoleTools

When trying to install the SkeletonGenerator, the following error occurs: servidor@ubuntu$ sudo pear install phpunit/PHPUnit_SkeletonGenerator [sudo] password for servidor: Unknown remote channel: components.ez.no phpunit/PHPUnit_SkeletonGene...
asked by 14.04.2014 / 13:44