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

QEP #5: stricter unit tests #7

Closed
wants to merge 1 commit into from

Conversation

nyalldawson
Copy link
Contributor

This proposal is aimed at providing more stable releases and preventing regressions in QGIS releases by expanding the coverage of unit tests and adopting a hard line approach to compulsory unit tests.

@timlinux
Copy link
Member

+1 As QA PSC member I fully endorse this proposal.

Regards

Tim

@andreasneumann
Copy link
Member

As a representative of an organization using QGIS in production work I welcome every move that helps us having fewer regressions in upcoming releases. That's why we also support Matthias Kuhns work on test integration with github commits and PRs. Devs and organizations that contract with the devs should make sure enough time is allocated to work on these unit tests.

Hopefully, this will lead to fewer bugs/regressions and less money that needs to be paid on the bug fixing work.

@NathanW2 NathanW2 changed the title QEP for stricter unit tests QEP #5: stricter unit tests Nov 9, 2014
@NathanW2
Copy link
Member

NathanW2 commented Nov 9, 2014

@nyalldawson assigned number 5 to this QEP. Could you update the docs. Thanks

Generally, unit tests in either c++ or python are acceptable (or both). However, methods which involve transfer of ownership
of objects must include python tests to ensure that this transfer is handled correctly.

To enforece this requirement, commits which modify core and which are not accompanied by unit tests (or have been granted
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

@strk
Copy link

strk commented Sep 23, 2015

How can this QEP be moved on ?

@nyalldawson
Copy link
Contributor Author

Superseded by #23 - I don't think we're quite ready for this one yet.

@m-kuhn
Copy link
Member

m-kuhn commented Oct 20, 2015

No need to supersede, we can just leave it open until we are ready :-)

@mhugo
Copy link

mhugo commented Oct 20, 2015

Sorry, maybe I missed something. Why aren't we ready yet ?

@m-kuhn
Copy link
Member

m-kuhn commented Oct 20, 2015

Because of the lack of a broad set of tests to build upon, a good set of rules of when this applies and acceptance in general IMHO.

@NathanW2
Copy link
Member

QEPs done via issues now.

New ticket at #42

Sorry for the inconvenience.

Email out soon on why.

@NathanW2 NathanW2 closed this Oct 28, 2015
@qgis qgis locked and limited conversation to collaborators Oct 28, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants