umontreal-diro / IFT3913

Syllabus pour IFT3913 [automne 2024]
MIT License
16 stars 31 forks source link

Test et humour #9

Open bbaudry opened 1 month ago

bbaudry commented 1 month ago

Les données de test, les commentaires, les noms de variables sont autant d'endroits propices à la pratique de l'humour dans le code

  @Test
  public void testThatOrderTotalIsCorrect() {
    Product productOne = new Product(faker.lebowski().quote(), 42.42);
    Product productTwo = new Product(faker.harryPotter().quote(), 11.11);
    Order order = new Order(faker.funnyName().name(),
            "Torre de Belém, Lisbon",
            List.of(productOne, productTwo));

   assertEquals(202.53, order.getOrderTotal(),
            "The order total is 202.53, including product total + shipping");
  }

Exemple pris ici

bbaudry commented 1 month ago

With Great Humor Comes Great Developer Engagement

bbaudry commented 1 month ago

les bibliothèques fakers avec des générateurs humoristiques

bbaudry commented 1 month ago

lolcommits https://github.com/lolcommits/lolcommits

bbaudry commented 1 month ago

des bibliothèques 'Volkswagen' qui détectent quand les tests s'exécutent dans un CI et les fait toujours passer

bbaudry commented 1 month ago

Using a pilot study to derive a gui model for automated testing

bbaudry commented 1 month ago

Operational Excellence in April Fools' Pranks: Being funny is serious work

bbaudry commented 1 month ago

Hunting down easter eggs online by exploiting cross-browser compatibility issues: The konami code experiment

bbaudry commented 1 month ago

Teaching Software Engineering Through Comics and Micro-Movie Design Projects