- 12 Mar, 2017 1 commit
-
-
Iago Gómez Salgado authored
-
- 11 Mar, 2017 5 commits
-
-
Iago Gómez Salgado authored
-
Iago Gómez Salgado authored
-
Iago Gómez Salgado authored
-
Iago Gómez Salgado authored
-
Iago Gómez Salgado authored
-
- 10 Mar, 2017 4 commits
-
-
Iago Gómez Salgado authored
-
Iago Gómez Salgado authored
-
Iago Gómez Salgado authored
-
Iago Gómez Salgado authored
-
- 01 Mar, 2017 1 commit
-
-
Iago Gómez Salgado authored
-
- 27 Feb, 2017 3 commits
-
-
Iago Gómez Salgado authored
-
Iago Gómez Salgado authored
-
Iago Gómez Salgado authored
-
- 26 Feb, 2017 8 commits
-
-
Iago Gómez Salgado authored
-
Iago Gómez Salgado authored
-
Iago Gómez Salgado authored
-
Iago Gómez Salgado authored
-
Iago Gómez Salgado authored
-
Iago Gómez Salgado authored
-
Iago Gómez Salgado authored
-
Iago Gómez Salgado authored
-
- 16 Feb, 2017 2 commits
-
-
Iago Gómez Salgado authored
-
Iago Gómez Salgado authored
-
- 08 Feb, 2017 3 commits
-
-
Administrator authored
The frontend has been refactorized to use classes in the JavaScript files.
-
Administrator authored
Some backend classes have been refactorized and simplified.
-
Administrator authored
The EqualsVerifier library has been added to test the equals and hashCode methods and it has been used to test the Person entity.
-
- 07 Feb, 2017 1 commit
-
-
Administrator authored
The login token was incorrectly set to "admin:admin" instead of "admin:adminpass". This commit fixes this and sets the valid token value.
-
- 19 Apr, 2016 3 commits
-
-
Administrator authored
This commit adds the new resource UsersResource (/users) with a simple functionality: retrieving the data of an user. This functionality requires knowing the login of the user that is performing the request. In this regard, this commit is an example of how this information can be retrieved and how to test a resource that requires knowing the login of an user.
-
Administrator authored
This test was unintentionally leaved out when creating the test case.
-
Administrator authored
The redirect created in the LoginFilter when the request URL included query parameters was incomplete, as it missed the "?" that separates the query parameters from the request URL. This commit fixes this error.
-
- 24 Feb, 2016 2 commits
-
-
Administrator authored
When a user is correctly logged in, the LoginFilter adds the user login to the HTTP session. This allows, for example, the REST layer to retrieve the current logged user.
-
Administrator authored
The tests classes have been simplified by delegating some of the functions in the test classes to external utility classes. For example, a PeopleDataset has been added to manage the dataset or the IsEqualToEntity Hamcrest matcher has been added to simplify entity comparisons. In addition, a PersonUnitTest class has been added to test the Person entity.
-
- 16 Feb, 2016 1 commit
-
-
Administrator authored
A big refactorization has been done in this commit, focused on simplifying the testing and execution process. The Spring-DbUnit library has been added to allow the use of DbUnit through annotations in the test classes. This change has been complemented with two new test listeners that allow the creation of custom initial contexts and the use of custom SQL scripts to create and destroy the database tables before and after the test execution, respectively. In addition, all the tests are executed now using a HSQLDB database. The datasource configuration has been pulled out of the project, and now it must be provided by the container. The sample classes have been reviewed, refactorized and documented with JavaDoc. The POM file has been reworked to ease test and application execution using maven. The new execution modes are: - The default execution includes unit, integration and acceptance (with Selenium) test execution. - No acceptance tests: mvn -P -acceptance-tests-cargo <phase> - Run server for manual acceptance tests: mvn -Dcargo.tomcat.start.skip=true -Dcargo.tomcat.run.skip=false -DskipTests=true pre-integration-test - Run server with MySQL database: mvn -P run-tomcat-mysql,-acceptance-tests-cargo -DskipTests=true package cargo:run
-
- 18 Feb, 2015 1 commit
-
-
Administrator authored
DatabaseQueryUnitTest mocks the database and there is no need to create a testing database. Therefore, the TestUtils method calls to initialize and clear the testing database where removed.
-
- 11 Feb, 2015 1 commit
-
-
Administrator authored
Several testing improvement have been done: - Cobertura plugin was replaced by JaCoCo plugin that supports Java 8 syntax. - Unit tests with a controller fixtured using EasyMock were added for PeopleDAO and PeopleResource. - POM was reviewed, reordered and reformatted. - Test classes naming was reviewed and standarized. - Three test suites were added to group the unit, integration, and acceptance tests. - Naming context management done in TestUtils was improved.
-
- 04 Feb, 2015 4 commits
-
-
Administrator authored
Dependency with Apache Commons Codec was removed and now the native Java 8 utilities for SHA-256 and Base64 encoding and decoding is used.
-
Administrator authored
The java.util.logging.Logger was introduced as the logger for the application.
-
Administrator authored
Web configuration for REST services and login filter was moved from the web.xml file to code annotations.
-
Administrator authored
POM was reviewed to update the dependencies of the project to the last version and to improve the test execution. Now it is possible to run the project with the testing database in a Tomcat Server v7.0 using the mvn tomcat7:run goal. In addition, Selenium tests now are executed as integration tests, starting the web server before the test execution and stoping it after the tests end. Finally, support for generating regular and cobertura test reports in HTML format was also added. The project was also cleaned by removing the MANIFEST.MF files and by reallocating the SQL files.
-