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

test-acceptance-api and test-acceptance-webui makefile targets #129

Merged
merged 1 commit into from
Sep 30, 2018

Conversation

phil-davis
Copy link
Contributor

@phil-davis phil-davis commented Sep 7, 2018

We are working towards having proper Makefile build targets for each of the parts of testing - make test-php-style make test-php-style-fix etc.

Acceptance tests currently come in 2 different flavors. API tests only need a server running somewhere and some client utility code (Guzzle, curl...) on the test script side. webUI tests also need a browser environment and whatever middleware to talk to the browser (e.g. Mink to selenium). We currently do not mix running API and webUI acceptance tests in a single run.

So I am proposing that we have 2 build targets:

make test-acceptance-api
make test-acceptance-webui

For discussion, please comment. e.g.

  • do we make 2 targets?
  • if so, what do we call them?

@codecov-io
Copy link

codecov-io commented Sep 7, 2018

Codecov Report

Merging #129 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #129   +/-   ##
=========================================
  Coverage     72.83%   72.83%           
  Complexity      225      225           
=========================================
  Files            25       25           
  Lines           968      968           
=========================================
  Hits            705      705           
  Misses          263      263

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 953cb75...20dba8a. Read the comment docs.

@phil-davis
Copy link
Contributor Author

@patrickjahns @PVince81 @DeepDiver1975 any opinions here?

@phil-davis
Copy link
Contributor Author

Also see core PR owncloud/core#32769 for an intial proposed implementation in core.

@phil-davis phil-davis force-pushed the makefile-test-acceptance branch 2 times, most recently from 3ade029 to 285ddfe Compare September 28, 2018 03:00
@phil-davis
Copy link
Contributor Author

Rebase to check that it still works fine. The equivalent has been merged in core yesterday, so I will merge here when CI passes.

@phil-davis phil-davis merged commit b0a4118 into master Sep 30, 2018
@phil-davis phil-davis deleted the makefile-test-acceptance branch September 30, 2018 07:05
@PVince81 PVince81 modified the milestones: development, QA Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants