Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

we need a way to test for nim js -d:nimbrowser #197

Open
timotheecour opened this issue May 15, 2020 · 3 comments
Open

we need a way to test for nim js -d:nimbrowser #197

timotheecour opened this issue May 15, 2020 · 3 comments
Labels

Comments

@timotheecour
Copy link
Owner

timotheecour commented May 15, 2020

links

@timotheecour
Copy link
Owner Author

@xflywind @juancarlospaco now that nim-lang/fusion#64 was merged, let's discuss how to fix this; lots of nim js code (eg @juancarlospaco's wrappers) can only be tested inside a browser environment. There's 2 things to do IMO (and we should do both):

@juancarlospaco
Copy link
Collaborator

juancarlospaco commented Jan 8, 2021

My idea was to make a pure-nim stdlib-only single-file KISS way of testing those things,
thats why I sent nim-lang#15828 the solution was literally there,
with that integrated and tested with Nim you can create a browser specifically designed for testing on <500 LOC

It is financed by Petrobras big oil corp, coded by Lua creators, 100% C, moves slow like ~1 version/year.

Now we need a GUI module on stdlib for "Finish.exe GUI", but we removed all of them.

🤷

@tandy-1000
Copy link

* harder (this issue): run in CI, either selenium or webdriver or chromium etc. At least running on 1 browser (eg chromium) would be a good start

With bindings for puppeteer this would be doable.
https://github.com/puppeteer/puppeteer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants