[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding testing information to CONTRIBUTE
From: |
Eli Zaretskii |
Subject: |
Re: Adding testing information to CONTRIBUTE |
Date: |
Thu, 05 Mar 2015 18:41:54 +0200 |
> Date: Thu, 05 Mar 2015 03:02:26 -0800
> From: Samer Masterson <address@hidden>
> Cc: address@hidden
>
> As a new contributor, I have no idea how to run or write tests for Emacs,
> which
> means I end up testing my patches manually and miss bugs. I could try to learn
> how Emacs uses tests on my own, but it would benefit future new contributors
> if
> we added a section on testing to CONTRIBUTE.
>
> Here is what I would want to see:
> - How to write tests, with a pointer to an internal Emacs package that has
> idiomatic and comprehensive tests.
> - How to run tests on the entire tree and on individual files.
> - A pointer to an info page on the testing framework/pattern that most
> internal
> Emacs packages use.
Most of this is described in ert.info, which I presume you've read.
I agree that CONTRIBUTE should mention that manual (right near the
place that it mentions "Tips" and "GNU Emacs Internals").
Re: Adding testing information to CONTRIBUTE,
Eli Zaretskii <=