Releases: Roanis/atg-tdd
Release list
Roanis TDD v1.4
Roanis TDD v1.4 Release Notes
A framework to simplify TDD for Oracle Web Commerce (ATG). Version 1.4 was released on 21 Feb 2015.
Using TDD in your project
See the README file for details on how to integrate this framework into your development projects.
Changes
Enhancements
[Issue #15 ] - added a Request/Response pair which is available during each test, so code which uses request.resolveName... (either directly or indirectly) will just work.
[Issue #16 ] - adding the testconfig layer and the TDD.Core module no longer depend on Manifest file manipulation.
Roanis TDD v1.3
Roanis TDD v1.3 Release Notes
A framework to simplify TDD for Oracle Web Commerce (ATG). Version 1.3 was released on 23 Oct 2014.
Using TDD in your project
See the README file for details on how to integrate this framework into your development projects.
Changes
Enhancements
[Issue #12 ] - version 1.3 is now compatible with ATG 10 and ATG 11. It is built with Java 6 compatibility.
[Issue #13 ] - if there is no ATG install on a machine running the unit tests, the ATG tests can be ignored by setting the system property tdd.ignoreMissingATGInstall=true
[Issue #14] - uses the ATG_HOME environment variable, if no DYNAMO_HOME variable is set.
Roanis TDD v1.2.1
Roanis TDD v1.2.1 Release Notes
A framework to simplify TDD for Oracle Web Commerce (ATG). Version 1.2.1 was released on 20 Oct 2014.
Using TDD in your project
See the README file for details on how to integrate this framework into your development projects.
Changes
Bug fixes
[Issue #11] - replaced old references to @NucleusTestData annotation.
Roanis TDD v1.2.0
Roanis TDD v1.2.0 Release Notes
A framework to simplify TDD for Oracle Web Commerce (ATG). Version 1.2.0 was released on 20 Oct 2014.
Using TDD in your project
See the README file for details on how to integrate this framework into your development projects.
Additions
Tests
com.roanis.tdd.samples.userprofiling/ProfileRepositoryTest - sample tests for direct repository access.
Changes
Framework
The goal behind this release, was to be able to run unit tests, without the need to roll the test classes up into test suites. Basically, we want to treat ATG tests exactly as if it was just another JUnit test class, with the obvious exception that a running Nucleus is required.
[Issue #8] - removed the dependency from having to roll the test classes up in to test suites. Tests can now be invoked by selecting a single class, package or the entire src/test/java folder and running the tests.
[Issue #9] - the Manifest file now gets updated, even if there is no testconfig layer in the module.
[Issue #10 - relaxed the error handling when a manifest backup file is found during Nucleus startup.
Annotations
[Issue #8] @RunNucleus - this has been renamed to NucleusRequired to better reflect the notion that the annotation will only start Nucleus if it's not already running. The previous version always started a new Nucleus instance.
NucleusTestData - this has been renamed to NucleusTestSetup to better reflect that it's not just responsible for loading data but also initialising Nucleus components with that data.
Tests
All of the test suites have been removed, in preference to treating the test classes as standalone tests.
All of the sample test classes have been updated to reflect the new changes. Each test class should be annotated with @NucleusRequired now, so that it can be ran in isolation, or part of a package.
Gradle
The version of gradle, used in the grade wrapper, has been updated to 2.0, from 1.8.
Deletions
@RunNucleus - see "Annotations" section above
@NucleusTestData - see "Annotations" section above
Roanis TDD v1.1.0
Roanis TDD v1.1.0 Release Notes
A framework to simplify TDD for Oracle Web Commerce (ATG). Version 1.1.0 was released on 13 Oct 2014.
Using TDD in your project
See the README file for details on how to integrate this framework into your development projects.
Additions
Annotations
com.roanis.tdd.annotation
Issue #2 - @NucleusComponent - mark any field in a test class as a Nucleus component and have it automatically injected.
Changes
ATG
Issue #4 - this version supports ATG 11.0 and 11.1
Java
As part of moving to ATG 11, a move was made to JDK 1.7.
Annotations
Issue #7 @NucleusWithModules - has a new useTestConfigLayer flag. When true, a testconfig layer is added to the Manifest during startup.
NucleusAwareJunit4ClassRunner - this class now looks for @NucleusComponent annotations and creates test rules to automatically inject components in to fields.
Modules
MyModule - this is now a self contained module, with it's own unit tests and test configuration (in testconfig). Previously, the Samples module was needed to hold the unit tests and config. Samples is no longer needed and will be removed. All the tests and config from Samples has been moved into MyModule.
Deletions
The Samples module is removed as it is no longer need to run the unit tests.
Roanis TDD for ATG v1.0.0
Roanis TDD v1.0.0 Release Notes
A framework to simplify TDD for Oracle Web Commerce (ATG). Version 1.0.0 was released on 22 May 2014.
Using TDD in your project
See the README file for details on how to integrate this framework into your development projects.
Additions
Annotations
com.roanis.tdd.annotation
@RunNucleus
@NucleusTestData
@NucleusWithCatalog
@NucleusWithCommerce
@NucleusWithOrder
@NucleusWithProfile
@NucleusWithSite
JUnit 4 Extensions
com.roanis.tdd.junit4.runner
NucleusAwareJunit4ClassRunner
NucleusAwareSuite
Test Helper
com.roanis.tdd.core.commerce.catalog
CatalogTestHelper
com.roanis.tdd.core.commerce.claimable
ClaimableTestHelper
com.roanis.tdd.core.commerce.gifts
GiftListTestHelper
com.roanis.tdd.core.commerce.inventory
InventoryTestHelper
com.roanis.tdd.core.commerce.order
OrderTestHelper
com.roanis.tdd.core.commerce.priceLists
PriceListTestHelper
com.roanis.tdd.core.commerce.userprofiling
ProfileTestHelper
com.roanis.tdd.core.commerce.promotion
PromotionTestHelper
com.roanis.tdd.core.commerce.multisite
SiteTestHelper
Other notable additions
Annotation processors in com.roanis.tdd.annotation.processor.rule convert Annotations into JUnit4 TestRule objects, in com.roanis.tdd.junit4.rules