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

what do you think of use ward for test runner? #510

Open
marcuxyz opened this issue Sep 20, 2021 · 2 comments
Open

what do you think of use ward for test runner? #510

marcuxyz opened this issue Sep 20, 2021 · 2 comments
Assignees
Labels
Question Further information is requested

Comments

@marcuxyz
Copy link
Member

marcuxyz commented Sep 20, 2021

Environment

  • Operating System: Linux
  • Python version: 3.9

What you intend to do with scanapi ?

I was thinking that we should use ward test library. Because:

  • work fine with expect module
  • beautiful output verbose logs
  • less verbose logs
  • and easily maintain, because, not need create name for each test function.

sample:

@fixture
def user():
    return User(name="darren")


@test("the user is called darren")
def _(u=user):
    assert u.name == "darren"

See output logs:

image

Colourful, human readable output: quickly pinpoint and fix issues with detailed output for failing tests.

image

Expected behavior ?

Enchantment on test suite.

@camilamaia @Pradhvan


scanapi has a discord server so feel free to join and say 👋 hello. Maybe share the issue link?

@marcuxyz marcuxyz added the Question Further information is requested label Sep 20, 2021
@marcuxyz marcuxyz self-assigned this Sep 20, 2021
@marcuxyz
Copy link
Member Author

marcuxyz commented Aug 8, 2022

@camilamaia what do you think?

@camilamaia
Copy link
Member

@marcuxyz I love the idea! I dislike the fact we need to create different long and descriptive names for the functions since we already have them described by the context, describe, and it.

Do you know if it works well with pytest-it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants