You need to sign in or sign up before continuing.
  1. 04 Feb, 2015 2 commits
    • Administrator's avatar
      Annotations for web configuration. · 29daab8f
      Administrator authored
      Web configuration for REST services and login filter was moved from the
      web.xml file to code annotations.
      29daab8f
    • Administrator's avatar
      POM review and improvement, and project cleaning. · b45f3656
      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.
      b45f3656
  2. 19 Feb, 2014 2 commits
    • michada's avatar
      Test report generation added and minor code cleaning. · 8b9eed22
      michada authored
      Sunfire report generation plugin added to pom.xml.
      
      Minor code cleaning in pom.xml and PeopleWebTest class.
      8b9eed22
    • michada's avatar
      Login method modification. · cf184b2c
      michada authored
      New login method based in HTTP's Basic Authentication used. This new
      method eliminates the need of the database supporting the SHA256
      algorithm and facilitates the future use of Basic Authentication.
      
      Tests were updated to use the new token encoding.
      cf184b2c
  3. 15 Feb, 2014 1 commit
    • michada's avatar
      Tests for people management functionality added. · dfbb5e3a
      michada authored
      DAO class modified to support and alternative JNDI for the data source
      through the "db.jndi" system property. A new testing database resource
      was added to the Context.xml file.
      
      DAO tests use the "spring-test" library to create a JNDI context, as
      JUnit doesn't create any context. Additionaly, a custom DataSource is
      created using the "commons-dbcp" library and injected into the context.
      Testing database creation scripts are provided in the mysql-tests.sql
      file.
      
      REST API is tested in the server side using the
      "jersey-test-framework-provider-grizzly2" library. These tests also use
      the "spring-test" and "commons-dbcp" libraries to create a context and
      inject a custom data source.
      
      REST API is tested in the client side using the "Selenium IDE" and
      "RESTClient" plugins for Firefox. Manual database reset is required
      before launching the test suite.
      
      Web interface is tested using the "Selenium IDE" plugin for Firefox and
      using the "Selenium WebDrive" in JUnit tests. Same tests are implemented
      in both cases. Selenium IDE tests require a manual database reset before
      launching the test suite. JUnit test require the server to be started
      using the testing database.
      dfbb5e3a