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

Use Glitch for interactive example on landing page #122

Open
ollelauribostrom opened this issue Feb 26, 2019 · 2 comments
Open

Use Glitch for interactive example on landing page #122

ollelauribostrom opened this issue Feb 26, 2019 · 2 comments

Comments

@ollelauribostrom
Copy link
Contributor

The example (about building an online casino) could be made interactive by using something like Glitch to embed a runnable example. This would basically allow the user to view and edit code/tests files and to run Stryker to see what happens - pretty cool in my opinion 😎

Example here: https://glitch.com/edit/#!/night-lens
(open the embedded console by pressing 'Tools' -> 'Logs', then select the 'Console' tab)

@nicojs
Copy link
Member

nicojs commented Feb 27, 2019

Awesome idea! How exactly would that work? You want people to run stryker from night-lens? Because right now, Stryker is pretty reliant on fs and other core node modules to perform its work. That won't work in the browser without some major refactoring.

@ollelauribostrom
Copy link
Contributor Author

It should be runnable right now (Glitch provides some sort of vm sandbox). Follow the link -> press "Remix to edit" and then open the embedded console by pressing 'Tools' -> 'Logs', then select the 'Console' tab. Then npx stryker run 🙂

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

No branches or pull requests

2 participants