Flick between your unit tests and your code with a hotkey [cmd-ctrl-.]
By default this ships with mappings for:
If you want to add your own bindings add an entry in your atom config like so:
'.source.elixir':"test-jumper":path_pairs: [['lib', 'test']]test_template: "{}_test.exs"test_matcher: "(.*)_test.exs"source_template: "{}.ex"source_matcher: "(.*).ex"test_identifier: ".*_test.exs"
path_pairs
: An array of tuples specifying how directories map between src and your test files
test_template
: Each match in the test_matcher
will replace {}
test_matcher
: A regex capturing the key parts of your test file to use to find the src name.
test_identifier
: A regex identifying a test file
Better yet, why not open a PR with your changes?
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.