-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
plenary.busted more compact output #73
Comments
Yeah the test result output could be slicker.
The failing spec: local sut = require 'lua.solution'
describe("(get_parent_directory_path(path)) :", function()
describe("Returns the path to the parent directory", function()
it("for *nix systems", function()
local path = "a/b/c/"
local expected = "a/b/d"
assert.is_equal(expected, sut.get_parent_directory_path(path))
end)
it("for Windows", function()
local path = "a\\b\\c\\d"
local expected = "a\\b\\c"
assert.is_equal(expected, sut.get_parent_directory_path(path))
end)
end)
end) |
@Mathijs-Bakker that looks good, I'd say path should be relative to current file so we can somehow attach gf to jump to the error. Also perhaps
|
This is actual plugin behavior. I didn't do anything to it. It's just how it shows up on my end (MacOS). In case of running the testfile itself - aka Something like below is very readable... It's probably better to break the lines of the 'descriptions' and 'it's' to prevent long lines/sentences. And preserve readability.
|
Oh thats very readable. Yes everything (I think) is generated by plenery, e.g. checkout |
I'm currently addressing this... will submit a pr when ready. |
😍 |
the wtf-rate is high on this one XD |
Did i underestimate the task? :) Or do you need any help? |
I've resolved and passed the initial issue. But that's not enough for my ideas. Which shouldn't (read: I expect to not) be a biggie... Anyways... still have some more reading/refactoring to do, to grasp plenary.testharness. And it's dependencies. |
Ok, I have most things running... @Conni2461 What's the reason to not implement the original Busted into this repo? |
@tami5 s wish :)
For
To
Changes are:
luassert
which we bundle so we can do it but i am not so sure if we should do that :)Passed in
andExpected
output on one line. Requires changes inluassert
Thats a somewhat good issue for newcommers :)
The text was updated successfully, but these errors were encountered: