Details
-
Test
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The SWTBot based UI tests are an important asset, the Studio test coverage is based on that.
Those tests grew over the last years and some technical debt accumulated:
- Most UI tests run against ApacheDS only.
- Recently additional tests against OpenLDPAP and 389ds were added. However those are separate test classes and only very few tests exist and test code is duplicated.
- There are several LDIFs that serve as test fixture for different tests, the increased amount makes it hard to maintain and duplication exists.
- The ApacheDS test framework is used to run an LDAP server. This framework is currently changed to JUnit5, so changes in the Studio tests are expected too.
It would be nice to run all UI tests against all LDAP servers
Goals:
- Allow to run all (or most) tests against multiple LDAP server (currently ApacheDS, OpenLDAP, 389ds, more can be added)
- As there are subtle differences between LDAP servers the tests must be aware of the server type to adjust requests or assertions
- Create a simpler and unified test fixture
- Switch to JUnit 5