Code Monkey home page Code Monkey logo

Comments (6)

christian-bromann avatar christian-bromann commented on June 20, 2024 1

Actually with qunit you can run tests like this but it seems that reporters don't pick up the right test data for the reporting. Any contributions to improve this behavior would be appreciated.

from webdriverio.

christian-bromann avatar christian-bromann commented on June 20, 2024

@ethanyou725 can you elaborate on why you are interested to use a 3rd party UI for Mocha?

from webdriverio.

ethanyou725 avatar ethanyou725 commented on June 20, 2024

@ethanyou725 can you elaborate on why you are interested to use a 3rd party UI for Mocha?

Thanks for your kindly reply. Because we are migrating some exist test cases (*.spec.ts) to webdriverio.

e.g.
old case:

test('test case', async () => { 
    await step('1=1', async () => {
        await expect(1).toBe(1)
    })
})

in mocha without custom ui, bdd style it must use describe and it,
and with custom ui interface, we could have the ability not change the spec file.

from webdriverio.

christian-bromann avatar christian-bromann commented on June 20, 2024

Have you tried to set mochaOpts.ui to tdd?

from webdriverio.

ethanyou725 avatar ethanyou725 commented on June 20, 2024

Have you tried to set mochaOpts.ui to tdd?

yes, tdd provides different function suit, it could be more convenient if support custom ui.

from webdriverio.

wdio-bot avatar wdio-bot commented on June 20, 2024

Thanks for reporting!

We greatly appreciate any contributions that help resolve the bug. While we understand that active contributors have their own priorities, we kindly request your assistance if you rely on this bug being fixed. We encourage you to take a look at our contribution guidelines or join our friendly Discord development server, where you can ask any questions you may have. Thank you for your support, and cheers!

from webdriverio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.