-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Move&rename JS tests #5053
Move&rename JS tests #5053
Conversation
you'll need to adjust the |
That's also the place to add test sub-groups for js tests under |
Thanks Paul! I'll take a look- |
@ivanov What do you think of the setup I just pushed? Instead of
And two new test groups |
Sent you a PR to make the tests run- I think we should preserve 'js' to run all of the javascript tests, and rename the miscellaneous tests that are in the 'js' directory in your branch right now and call them 'jsmisc' |
@ivanov we talked and decided that there should be a separate test group for each of the different subdirs in Would it be difficult to allow those to be run separately, but also have a global |
make tests actually run
Woops, thanks for the PR. |
having a js group that runs them all should be too hard, that's what I was just looking at... |
Since "js" is already short, does it make sense to simply do them as folders under js, so you'd run e.g. |
Sure, I think that syntax would be a nice way of doing it. I would love to have an easy way of running individual tests in subdirs. |
@ellisonbg one can, just not from the way iptest uses it right now. Let me see if I can add that as well. |
all casperjs/ subdirectories now treated as test categories
don't laugh. it's a serious problem.
I sent jdfreder#13 which supports running individual js tests, as well as treating all subdirectories of casperjs as a separate test group |
Ok, I've updated the jdfreder#13 PR I sent @jdfreder
|
In my PR to @jdfreder I changed the prefix to |
I like this short form better, thanks @ivanov On Fri, Feb 7, 2014 at 4:26 PM, Paul Ivanov notifications@github.comwrote:
Brian E. Granger |
Hmm, getting a traceback:
Also, I am not thrilled about the double nesting |
But let's get this done ASAP so other test work can continue. |
It wont let me merge @ivanov 's PR because it hasn't been rebased with the changes to my branch. I'll check it out and merge it manually since he is probably offline right now. |
Since the changes I had made were similar to @ivanov 's but not as progressed , I just force pushed his branch here. |
I moved the tests into folders that map 1-to-1 one with the folders in static (as discussed in person with @ellisonbg ). Also, I remove The structure follows:
The thought is that in another PR the main widgets folder will get moved out of the notebook/ folder in static (since the widgets don't event require any IPython specific elements to work). |
There is an actual test failure on Travis. Something about |
Just hardcoded it in to be ignored... I guess we wait on Travis now. |
@@ -159,6 +159,18 @@ def launch(self): | |||
self.cmd[2] = self.pycmd | |||
super(PyTestController, self).launch() | |||
|
|||
js_prefix = 'js/' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this fail on Windows (/
)?
The There are a couple of places where we hardcoded the path separator
|
@takluyver and I verified that the glob stuff with a / works on |
Nice, thanks @ivanov ! So I guess the only thing to fix then is the |
I will rewrite the |
Move&rename JS tests
This PR will be used to try different JS test arrangements and eventually agree on one or keep the all-test-in-one-folder design we have now.