csstools / postcss-tape

Quickly test PostCSS plugins
Creative Commons Zero v1.0 Universal
15 stars 4 forks source link

Add ability to disable wait for continuous integration tools #8

Open philipbordallo opened 3 years ago

philipbordallo commented 3 years ago

Most continuous integration tools have static logs meaning when postcss-tape runs in them, you will end up with multiple log calls per test.

Example

⠋ postcss-system-monospace should support basic usage✔ postcss-system-monospace should support basic usage
⠋ postcss-system-monospace should support being used with custom properties✔ postcss-system-monospace should support being used with custom properties

Suggestion

A nice to have would be the ability to set a ci flag to disable wait from being called. So if postcss-tape --ci was run, the above example would become:

✔ postcss-system-monospace should support basic usage
✔ postcss-system-monospace should support being used with custom properties

Let me know if this sounds like a good idea and I can help implement.

romainmenke commented 10 months ago

Hi @philipbordallo,

I am not sure if you are still using this tool but you might be interested in its successor : https://github.com/csstools/postcss-plugins/tree/main/packages/postcss-tape#postcss-tape