Edgewall Software

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#13049 closed enhancement (fixed)

Mercurial plugin tests — at Version 4

Reported by: Peter Suter Owned by:
Priority: normal Milestone: plugin - mercurial
Component: plugin/mercurial Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:

Added tests.

API Changes:
Internal Changes:

Description

Could tests be added for the Mercurial plugin? It would be nice if they can be run on the automated build systems and help find incompatibilities with new Mercurial releases.

Change History (5)

by Peter Suter, 6 years ago

Attachment: hg_tests.patch added

comment:1 by Peter Suter, 6 years ago

The attached patch just copies some of these Git tests. I omitted tests for bare repos and tests using "fast import data", and crudely modified the others until they passed for me, but I don't understand the the Trac version control system very well, so maybe this is misguided. What do you think?

comment:2 by Jun Omae, 6 years ago

#12160 was closed as duplicate.

comment:3 by Peter Suter, 6 years ago

Oops I forgot to check, thanks. Also I forgot a previous Git tests -> HG tests attempt for the HG command server approach.

comment:4 by Peter Suter, 6 years ago

Release Notes: modified (diff)
Resolution: fixed
Status: newclosed

Pushed in [54/mercurial-plugin] for now.


It would be nice if they can be run on the automated build systems

Does anyone know if this is possible?

Note: See TracTickets for help on using tickets.