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

Acceptance/Regression Testing #73

Closed
jag3773 opened this issue Aug 10, 2016 · 7 comments
Closed

Acceptance/Regression Testing #73

jag3773 opened this issue Aug 10, 2016 · 7 comments
Assignees

Comments

@jag3773
Copy link
Contributor

jag3773 commented Aug 10, 2016

Story

As an admin|developer I want to be sure that new releases don't re-introduce problems that have already been fixed so that we don't have to redo work.

Update

Mostly this is a research task to identify the delta between the following:

Notes

Especially since we have a list of customizations that we merge into our Gogs releases, it would be good if we had regression tests setup so that we can verify that we haven't forgot to merge something or reverted certain changes.

We've made a list of things to test for in https://github.com/unfoldingWord-dev/gogs/wiki/Items-for-Acceptance-Testing .

@jag3773 jag3773 added the Gogs label Nov 17, 2016
richmahn pushed a commit that referenced this issue Nov 18, 2016
Add Pagination to Releases-page (and de-duplicate pagination templates)
@jag3773 jag3773 changed the title Regression Testing Acceptance/Regression Testing Dec 21, 2016
@ethantkoenig
Copy link
Contributor

The admins of gitea want to have a comprehensive set of unit tests before adding end-to-end tests, so I'll first work on adding unit tests (which I assume would be of at least some value to us as well?)

@jag3773
Copy link
Contributor Author

jag3773 commented Jan 11, 2017

Most of things we need to test for that are listed in the document should not be merged upstream but should be apart of our fork.

@jag3773
Copy link
Contributor Author

jag3773 commented Feb 15, 2017

I have a basic acceptance test for Gogs at https://github.com/unfoldingWord-dev/nagios_plugins/blob/master/gogs_acceptance_test.sh . This is run by Opsview 1x per hour against production. Obviously, this won’t catch anything before production, but it is at least a step in the right direction so we have a better battery of tests running against prod. Hopefully it can also serve as a starting point for writing something to run on travis.

Note that this would run on Travis just fine if we setup a "fixture" that loads the database with a user and token. At that point we could extend the script to create a repo add some commits, etc.

@ethantkoenig
Copy link
Contributor

I recommend we use go-gitea/gitea#1290 for our integration tests; there are still a few things to iron out, but it should provide an accessible and maintainable framework for integration/acceptance/regression/whatever-you-want-to-call-them tests.

@jag3773
Copy link
Contributor Author

jag3773 commented Apr 28, 2017

👍

@jag3773
Copy link
Contributor Author

jag3773 commented Feb 9, 2018

What's the latest status on this @ethantkoenig ?

@jag3773
Copy link
Contributor Author

jag3773 commented Feb 12, 2018

We will review on 2/19

@jag3773 jag3773 added this to the DCS 1.5.1 milestone Oct 4, 2018
@jag3773 jag3773 removed this from the DCS 1.5.1 milestone Jun 11, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants