1. 17 Oct, 2018 1 commit
    • Administrator's avatar
      Fixes MySQL test configuration · c4ab8bb8
      Administrator authored
      The Arquillian configuration for MySQL tests was wrong, as it was
      using the H2 data type factory instead of MySQL's. This commit fixes
      this error and now tests with MySQL should work fine.
      c4ab8bb8
  2. 27 Sep, 2017 1 commit
    • Administrator's avatar
      Updates the project for the 17/18 course · 98a7160b
      Administrator authored
      The project dependencies have been updated, including a change from
      WildFly 8.2.1 to 10.1.0. This change affects the project configuration
      in several ways, specially in tests configuration.
      
      The README.md file has been updated to reflect the configuration
      changes.
      98a7160b
  3. 15 Nov, 2016 1 commit
    • Administrator's avatar
      Reviews and refactors the tests code · 1fb6f62c
      Administrator authored
      The tests code for rest and service modules have been reviewed to
      simplify and make it more readable. This change includes some
      improvements on the OwnersDataset and some matchers classes.
      1fb6f62c
  4. 25 Oct, 2016 1 commit
    • Administrator's avatar
      Allows both application execution and deployment with Maven · c4d17fa9
      Administrator authored
      The previous Maven configuration included a WildFly Maven plugin
      configuration in the H2 and MySQL profiles that allowed the application
      execution directly from Maven (with the mvn wildfly:start wildfly:deploy
      command). As this configuration included a custom WildFly deployment
      configuration (that modified the standalone.xml of the WildFly where the
      application will be deployed), the mvn wildfly:deploy couldn't be used
      to deploy the application in a local WildFly instance.
      
      This commit adds a new profile (wildfly-mysql-run) that can be used to
      execute the application directly from Maven (with the mvn install
      command). The custom WildFly plugin configuration has been removed from
      the other profiles, allowing users to normally deploy the application in
      a running WildFly instances.
      
      Instructions on how to use the profiles for application execution and
      deployment can be found in the README.md file.
      c4d17fa9
  5. 19 Oct, 2016 1 commit
  6. 18 Oct, 2016 1 commit
    • Administrator's avatar
      Improves the IsEqualToEntity abstract matcher · 259a6760
      Administrator authored
      The IsEqualToEntity matcher (previously, IsEqualsToEntity) has been
      improved to allow property comparison by functional reference to the
      getter methods of the properties to compare. Specifically, the
      "checkAttribute" methods added allow providing a Function<T, R> as a
      getter, where T is the type of the entity to compare and R is the type
      returned by the getter method.
      259a6760
  7. 05 Oct, 2016 1 commit
  8. 28 Sep, 2016 1 commit
    • Administrator's avatar
      Updates the project for the 16/17 course · 6840294c
      Administrator authored
      The README.md has been update to reference the new course and the new
      Eclipse version. In addition, the general pom.xml file has been updated
      to include the newer versions of the dependencies, and the ear/pom.xml
      has been modified to include more project information in the generated
      EAR.
      
      On the other hand, the testing mysql-ds.xml have been removed and the
      standalone.xml testing files have been updated to include the datasource
      data.
      6840294c
  9. 02 Nov, 2015 1 commit
    • Administrator's avatar
      Refactorizes some test classes · 2427b7c9
      Administrator authored
      Some test classes have been refactorized for a more consistent use of
      the OwnersDataset class and for a simpler test implementation.
      2427b7c9
  10. 27 Oct, 2015 2 commits
    • Administrator's avatar
      Adds the HasHttpStatus matcher · 40bf4a1a
      Administrator authored
      This matchers makes the Response status easier to check in tests.
      40bf4a1a
    • Administrator's avatar
      Adds the REST layer implementation partially tested · f739d617
      Administrator authored
      The REST layer has been added but with incomplete tests. Students will
      have to complete the tests.
      
      This commit includes an important refactorization regarding tests. Test
      classes and datasets have been moved from the "service" project to a new
      "tests" project. This way, any project can include this "tests" project
      as a dependency in order to have access to these common testing
      resources.
      f739d617