Skip to content

Testing conventions #58

Open
Open
@victorolinasc

Description

@victorolinasc

Hi and thanks for this awesome style guide. It truly helps adding standards to this community and is also a place to discover best practices by established Elisp seniors.

One thing I miss from all this is testing conventions. It seems the community is just recently investing more time in CI pipelines with testing, coverage reports and so on. From my personal opinion, though, this topic is still not widely discussed nor standardized. Things like:

  • What is a good practice for naming tests?
  • When its good practice to create a wrapper macro to add functionality to ERT?
  • Should we use test-helper.el and if yes, what is the recommended practices?
  • How to assert failures with temp files without actually leaving them on the file system?
  • etc (I think that even if we start this small it will grow bigger with the community input)

Maybe this should be a NEW style guide that could first recommend this one, but I think this will help a lot too.

Anyway, if this feels out of place feel free to simply close it. Once again, thanks for all your work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions