Skip to content

Conversation

@alimpfard
Copy link

@alimpfard alimpfard commented Nov 30, 2025

In case you're a browser person and want to pretend to be running tests.
This is a veeeery tiny slice of what WPT tests being run looks like, but it looks similar enough I think.

asciicast

The number of tests/subtests are roughly equivalent to the real test suite (though no one really knows the actual number anyway), and the final result is fairly close to what chrome would get IRL :P

@svenstaro
Copy link
Owner

Hey, this is great! However, I think you should try to condense the wpt_tests.txt file quite a bit. There's a lot of repetition in there that should really be generated on the fly. Or even better, try to generate the tests entirely from the data that we already have! For instance, you could combine stuff from terraform_ids.txt and packages.txt. I'm also cool with a new file but please try to dynamically construct the paths.

@alimpfard
Copy link
Author

alimpfard commented Nov 30, 2025

That file is just a list of tests I grabbed off wpt.py, we could probably just take a random 6k-long slice too.

I'm not sure if it'd make any sense to generate them from what's in the repo already since the names are pretty specific? maybe we could split it into some CSS property names, web platform names (e.g. API names), so other future modules could use them too?

@svenstaro
Copy link
Owner

That file is just a list of tests I grabbed off wpt.py, we could probably just take a random 6k-long slice too.

I'm not sure if it'd make any sense to generate them from what's in the repo already since the names are pretty specific? maybe we could split it into some CSS property names, web platform names (e.g. API names), so other future modules could use them too?

You can do it like you want, just the current file is way too large and I think we can easily generate some stuff.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants