callawaycloud / scheduledtestrunner Goto Github PK
View Code? Open in Web Editor NEWApex Library to schedule Unit Test runs
License: MIT License
Apex Library to schedule Unit Test runs
License: MIT License
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.
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.
When a test run fails we could check to see when the last successful run was, and pull audit logs since that time. This could be really helpful in quickly determining what broke a test
https://andyinthecloud.com/2015/10/18/setup-audit-trail-api-in-winter16/
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:
Information to include:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.