Skip to content

Instantly share code, notes, and snippets.

View basti1302's full-sized avatar

Bastian Krol basti1302

View GitHub Profile
@basti1302
basti1302 / parameterizable.spec.coffee
Last active March 1, 2018 13:17
An example of a parameterized test suite using the Jasmine BDD framework for JavaScript. This example is in CoffeeScript.
describe "The suit", ->
beforeEach ->
console.log('non-parameterized#beforeEach')
afterEach ->
console.log('non-parameterized#afterEach')
it "should execute specs in the non-parameterized part", ->
console.log('spec in non-parameterized')
@basti1302
basti1302 / keybase.md
Created July 24, 2018 05:20
Verifying myself

Keybase proof

I hereby claim:

  • I am basti1302 on github.
  • I am basti1302 (https://keybase.io/basti1302) on keybase.
  • I have a public key ASBijUw927CXoPXFpcWt9FmaJAA-gHurdMeZf9l23Bj2eAo

To claim this, I am signing this object:

@basti1302
basti1302 / optional.feature
Created August 22, 2013 11:15
Use an optional parameter in Cucumber
Feature: Optional parameter
Scenario: Use an optional parameter
When I execute a step
When I execute a step with the optional parameter whatever