Skip to content

Instantly share code, notes, and snippets.

View dylanbeattie's full-sized avatar

Dylan Beattie dylanbeattie

View GitHub Profile
Old :
Session is about mutation testing, why and when you should mutate your code.
What benefits comes by mutating your code. Simply test your own tests.
It's very helpful tool with TDD where you are exposed to a lot of wrong
assumptions and simple syntactic errors that can propagate other errors.
New :
You write your unit tests to guard your code, but who will guard your unit tests ?
We put a lot of trust into our unit tests, but should we really ? We are humans, and we make mistakes.
CREATE TABLE RockClub (
ID INT IDENTITY(1, 1),
Address_NS NVARCHAR(128) COLLATE SQL_Latin1_General_CP1_CI_AI,
Address_VS VARCHAR(128) COLLATE SQL_Latin1_General_CP1_CI_AI,
Address_NW NVARCHAR(128) COLLATE Latin1_General_CI_AI,
Address_VW VARCHAR(128) COLLATE Latin1_General_CI_AI
)
INSERT INTO RockClub (Address_NS, Address_VS, Address_NW, Address_VW) VALUES (N'Saarbrücker Straße 24, 10405 Berlin','Saarbrücker Straße 24, 10405 Berlin',N'Saarbrücker Straße 24, 10405 Berlin','Saarbrücker Straße 24, 10405 Berlin')
{ "data" : [
{
"type": "band",
"id": "56",
"attributes": { "name" : "The Funky Frog Band", "website" : "http://www.funky-frog-band.com" },
"links": { "self" : "/bands/56" },
"relationships": {
"members": {
"links" : {
"self": "/bands/56/relationships/members",
{ "data" : [
{
"type": "band",
"id": "56",
"attributes": { "name" : "The Funky Frog Band", "website" : "http://www.funky-frog-band.com" },
"links": { "self" : "/bands/56" },
"relationships": {
"members": {
"links" : {
"self": "/bands/56/relationships/members",
{
"data": {
"type": "musician",
"id": "1234",
"attributes": { },
"relationships": {
"bands": {
"links": {
"self": "/musicians/1234/relationships/bands",
"related": "/musicians/1234/bands"
@dylanbeattie
dylanbeattie / basic_dim
Created November 30, 2010 20:48
How to make C# look like Basic, #1 - DIM statements
using System;
using System.Collections.Generic;
public class DIM {
private string contents;
private DIM(string contents) {
this.contents = contents;
}
public static implicit operator DIM(int x) {