Comments (2)
The attribute to use is: [Slack("ChannelName")]
which optionally takes a SlackTestResult
which is defaulted to Any
.
Only Any
, the result of the test is always posted to Slack. The other options are Failure
and Success
, where test results are only posted if the test fails (failure or error), or succeeds respectively.
The token to allow sending to Slack can be a CLI argument of --slack
or an Edisonfile parameter of slack_token
.
If there's no token, no message will be sent through to Slack.
from edison.
Oh, and I forgot. The messages being sent to slack use attachments, so they are colour coded down the side:
- Success: Green
- Failure: Orange
- Error: Red
- Everything else: Blue
from edison.
Related Issues (20)
- Edison.Console application needs to be on NuGet for easier version controlling HOT 1
- Test assemblies should be run in separate AppDomain with configs loaded HOT 1
- Add new output types for HTML and MarkDown HOT 3
- The GUI's ProgressBar should change colour with failed tests
- ChocolateyInstall script needs to include Checksum of binaries HOT 1
- Framework to support Browser testing HOT 1
- Implement basic Load Testing functionality
- Allow Edison to be run using TestDriven.NET
- New UrlOutputType needed, rather than using file's OutputType HOT 3
- When a test run starts, Edison should send a callout to tell the website a run has started HOT 6
- When a test run ends, Edison should send a callout to tell the website the run has ended - and why HOT 2
- Need a new TestRunName, which can be more informative than TestRunId HOT 2
- Need a new TestRunProject identifier for test results HOT 3
- Need a new TestRunEnvironment identifier for test results HOT 2
- Callouts sent to a TestResultUrl/Slack/etc should be run in a separate thread HOT 2
- [EPIC] Upgrades to engine for a new Test Results website for Edison HOT 1
- Rename TestResultUrl parameter on CLI and in Edisonfile HOT 1
- Attribute to retry tests a number of times until it passes
- Duration for URL should be in Milliseconds
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edison.