Skip to content

Add testing #91

Open
Open

Description

@hedning

We want to add tests (perhaps CI if it's possible too).

One way to do testing is setting XDG_CONFIG_HOME, populating it with a user.js which then would run the tests.

A simple test for something like fullscreen reactivity (which I broke twice recently):

  • create a window, wait for it to appear
  • set fullscreen
  • check that actor.visible == true and clone.visible == false
  • signal completion to the test runner, with eg. emit('done', [ok, result])

A more complex example would be restarts on x11:

  • create some windows
  • save some state
  • restart
  • check that we've restarted
  • signal completion

Activity

  1. added
    stabilityWork towards making PaperWM more reliable
    on Dec 16, 2018
  2. added
    enhancementAdds a new feature or extends scope
    and removed
    stabilityWork towards making PaperWM more reliable
    on Jan 14, 2025
  3. Thesola10 commented on Jan 14, 2025

    @Thesola10
    Collaborator

    This could definitely build upon #982

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAdds a new feature or extends scopeproject supportIssues related to supporting or improving the project

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions