This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Read more about Slack webhooks here: https://api.slack.com/messaging/webhooks | |
| curl -X POST \ | |
| -H 'Content-type: application/json; charset=utf-8' \ | |
| --data '{ "channel": "#mychannel", "username": "superbot", "icon_emoji": ":bot:", "text": "Foo" }' \ | |
| https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @DataProvider(name = "DPMethodAlias") // Get A Form | |
| public static Object[][] getFromFile() { | |
| System.out.println("Loading data provider DPMethodAlias..."); | |
| // lastRun is a timestamp value used to find the .tests file | |
| File tFile = new File( "test-output/work/" + WSUtils.getTestProperty("lastRun", "testng.config") + ".tests"); | |
| FileReader fileReader = null; | |
| List<String> lines = new ArrayList<String>(); | |
| try { | |
| String line = null; | |
| fileReader = new FileReader( tFile ); |