Coder Social home page Coder Social logo

Comments (3)

WillBrock avatar WillBrock commented on May 23, 2024

This could likely be achieved if the outputFileFormat can be used for the global wdio logs. Currently it looks like that will only work for reporters logging.

[`test`, {
	outputDir              : `./logs`,
	outputFileFormat : (opts) => `${opts.spec[0].replace(`/.js|.ts/`, ``)}-test-reporter.log`,
}]

from webdriverio.

christian-bromann avatar christian-bromann commented on May 23, 2024

Let's introduce this as a WebdriverIO config and have a central log file management. The function passed into the outputFileFormat should receive information about the config and a scope, e.g. the reporter or service it likes to create a config file for so that someone can craft arbitrary names for the log file. This means that if someone would provide a outputFileFormat like so: () => 'allInOne.log' all logs would be written in a central file.

from webdriverio.

wdio-bot avatar wdio-bot commented on May 23, 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.