Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial test system refactor: introduce annotation driven TestAspect system w/ initial TestWithDatabase aspect #8770

Closed
wants to merge 7 commits into from

Conversation

diosmosis
Copy link
Member

Work in progress, more to come.

@diosmosis diosmosis added Pull Request WIP Indicates the current pull request is still work in progress and not ready yet for a review. c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. labels Sep 12, 2015
@diosmosis diosmosis added this to the 2.15.0 milestone Sep 12, 2015
diosmosis added 2 commits September 12, 2015 02:29
… of Piwik test setup/teardown. Create initial annotation based 'test aspect' system and use to store logic for database setup/teardown. Test cases w/ the @testWithDatabase annotation should automatically create a Piwik database (w/o plugins installed).
…estAspect. Includes fix to test aspect detection + makes system test cases work like integration tests (database reset on setUp) for simplicity.
diosmosis added 5 commits September 13, 2015 02:05
…setup + add TestWithPiwikEnvironment aspect (empty for now);
… expected only one 'testWith' annotation used per test case. Anootations now include @testWithPiwikDatabase, @testWithPiwikEnvironment, @testWithDatabase, @testWithContainer.
@mattab mattab modified the milestones: 2.15.1, 2.15.0 Oct 6, 2015
@mattab mattab modified the milestones: 2.15.1, 3.0.0 Oct 20, 2015
@tsteur
Copy link
Member

tsteur commented Aug 30, 2016

I'll close this PR for now as we are in LTS mode for the master branch / Piwik 2. I presume you don't mind @diosmosis :) Currently we don't have resources to continue this feature... we'll use the changes made here later when we work on this again 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. Pull Request WIP Indicates the current pull request is still work in progress and not ready yet for a review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants