PostCSS Parser Tests

JSON →
library 8.9.0 ·javascript
verified May 27, 2026

PostCSS Parser Tests is a utility package providing a comprehensive suite of base tests designed for any CSS parser, not exclusively those within the PostCSS ecosystem. It includes 24 CSS files covering extreme and edge cases of the CSS specification, alongside integration tests derived from popular website styles to evaluate real-world CSS parsing robustness. The current stable version, 8.9.0, continues to enhance test coverage, with recent updates adding more rules for semicolon cases. This package primarily facilitates the development and validation of CSS parsers by offering structured test cases and helper methods like `cases.each` for iterating through tests and `cases.real` for integration testing. It aims to standardize parser testing against a broad spectrum of valid and challenging CSS inputs, ensuring robustness and spec compliance across different parsing implementations.

total hits 18
actors 8 distinct systems
last hit 1d ago MetaBot
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
3

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇳🇴 Norway · 🇩🇪 Germany