- I don't have a specific topic, I would love to get to know "what people are talking about"...
- Expressing examples in Markdown and How lean/agile teams should prioritise work for maximum impact.
- Cucumber for mobile app testing
- Learning: Organising feature files as a living documentation for a whole system in an microservice architecture where feature files ""live"" in the corresponding microservices.
- The state of Cucumber messaging and reporting as a whole
- Patterns and anti-patterns in Cucumber.
- Bdd and Java
- integration with another report tools
- Cucumber / Behat
- ethical software development, narratives,
This file contains 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
RSpec::Matchers.define(:be_same_file_as) do |exected_file_path| | |
match do |actual_file_path| | |
expect(md5_hash(actual_file_path)).to eq(md5_hash(expected_file_path)) | |
end | |
def md5_hash(file_path) | |
Digest::MD5.hexdigest(File.read(file_path)) | |
end | |
end |
This file contains 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
# usage: | |
# it "should return a result of 5" do | |
# eventually { long_running_thing.result.should eq(5) } | |
# end | |
module AsyncHelper | |
def eventually(:options = {}) | |
timeout = options[:timeout] || 2 | |
interval = options[:interval] || 0.1 | |
time_limit = Time.now + timeout | |
loop do |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am mattwynne on github. | |
* I am mattwynne (https://keybase.io/mattwynne) on keybase. | |
* I have a public key ASCCJyYpFMQWfVzK1MWiDMnDCjkw2Bvv_jW6H1mpgRXN4Ao | |
To claim this, I am signing this object: |
This file contains 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
[INFO] ------------------------------------------------------- | |
[INFO] T E S T S | |
[INFO] ------------------------------------------------------- | |
[INFO] Running Cukes | |
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.874 s <<< FAILURE! - in Cukes | |
[ERROR] Eat some cukes Time elapsed: 0.855 s <<< ERROR! | |
java.lang.IllegalStateException: No valid CDI implementation found | |
[ERROR] Eat some more cukes Time elapsed: 0.009 s <<< ERROR! | |
java.lang.IllegalStateException: No valid CDI implementation found |
This file contains 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
Commit = Struct.new(:repo, :sha, :comment, :stats) do | |
def refactoring?(previous_commit) | |
return :spec_files_unchanged if no_changes_to_specs | |
return :comment if refactoring_comment | |
return false if result.nil? || result.failed > 0 || result.total == 0 | |
return :spec_results_unchanged if result == previous_commit.result | |
return false | |
end | |
def no_changes_to_specs |
This file contains 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
const Queue = require('bull') | |
const q = new Queue('test') | |
const main = async () => { | |
await q.clean(0, 'completed') | |
q.process(async job => { | |
console.log('work starting') | |
await new Promise(resolve => setTimeout(resolve, 3000)) | |
console.log('work done') | |
}) |
This file contains 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
import "reflect-metadata"; | |
import {createConnection} from "typeorm"; | |
import {User} from "./entity/User"; | |
process.on('exit', () => { | |
console.log('exit: ', new Date()) | |
}) | |
createConnection().then(async connection => { |
Link to your website: http://localhost
Open your HTML code in your editor. It's in /var/www/html/index.html
NewerOlder