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

creating test with only 1 test-case #145

Closed
getify opened this issue Aug 14, 2013 · 1 comment
Closed

creating test with only 1 test-case #145

getify opened this issue Aug 14, 2013 · 1 comment

Comments

@getify
Copy link

getify commented Aug 14, 2013

I regularly find myself wanting to create a test with only one test-case, because my goal is to do cross-browser benchmarking of some piece of code, not just putting to two pieces of code head-to-head.

When I create a new test, it forces me to put something into the second test case, but then I can immediately edit and remove that, leaving the test with only one test case. I do this often, but it's a little annoying to have to go indirectly through it.

Could we:

  1. Remove the validation that requires stuff in the second test case, allowing it to just be left blank and thus implicitly deleted?
  2. Put a "X" delete button next to test cases, including the default second test case when creating a new jsperf. The simple rule then would be that you could delete any test case, but a test can never get to zero test-cases.
@jdalton
Copy link
Collaborator

jdalton commented Apr 14, 2015

Closing as stale. We'll still keep an eye on the popularity of the request.

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

No branches or pull requests

2 participants