Giter Club home page Giter Club logo

scheduledtestrunner's People

Contributors

chuckjonas avatar fishygeek91 avatar veritascs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

scheduledtestrunner's Issues

Help Identify Which Partial Tests Based on Changes

Some orgs have massive test suites that are VERY slow. If I'd like to deploy without running the full suite I can specify which tests classes to run, but figure out which ones will get me to 75% code coverage for everything in my package is nearly impossible without first running the full test suite.

Perhaps the test runner could store data on which tests classes touch which apex classes and triggers along with the percent of the code they cover. With that data we could expose an endpoint we could use with an sfdx plugin to make a best guess at what test classes to use to deploy a specific piece of code.

Reduce Noise for Persistent Test Failures

Often enough there is a failing test method that isn't urgent to fix and I'll leave it failing for a while. But then I'm getting notifications every day about the test failure which can drown out when another test method fails that is important. It'd be nice to have an easy way to reduce that noise.

Perhaps there could be an application level notification setting to only send for new test failures. Or maybe the ability to specify that a specify test method failure can be ignored. For that route it'd be good to have that skip setting get cleared once the test starts passing again.

Include error summary in details

The current test failure notification just looks like this:

There was
1 unit test failure(s) in the recent test run.

To view all errors, view: https://realself.my.salesforce.com/a3E4V000001EN7a

Would be nice to list out the test method which have failed in a way that you can tell if there are new failures or not.

The easiest way to do this might be to add a summary on the test run where we can aggregate the results. Because we are also tracking "first failure" on the tests, maybe we should roll this up to determine if the test run itself have any "novel" failures. That would allow us to:

  • have better messaging EG: "There were X new test failures" . "X tests have been failing for multiple days".
  • potentially configure notifications to only send when there are new failures

Information to include:

  • test class
  • test name
  • stack trace (truncated?)

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.