Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test et humour #9

Open
bbaudry opened this issue Jul 29, 2024 · 14 comments
Open

Test et humour #9

bbaudry opened this issue Jul 29, 2024 · 14 comments

Comments

@bbaudry
Copy link
Member

bbaudry commented Jul 29, 2024

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
Copy link
Member Author

bbaudry commented Jul 29, 2024

@bbaudry
Copy link
Member Author

bbaudry commented Jul 30, 2024

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

@bbaudry
Copy link
Member Author

bbaudry commented Jul 30, 2024

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

@bbaudry
Copy link
Member Author

bbaudry commented Jul 30, 2024

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

@bbaudry
Copy link
Member Author

bbaudry commented Jul 30, 2024

@bbaudry
Copy link
Member Author

bbaudry commented Jul 30, 2024

@bbaudry
Copy link
Member Author

bbaudry commented Jul 30, 2024

@bbaudry
Copy link
Member Author

bbaudry commented Sep 23, 2024

Awesome hilarious github repositories
https://github.com/terremoth/awesome-hilarious-repos

@bbaudry
Copy link
Member Author

bbaudry commented Sep 23, 2024

DexEx

DevEx (developer experience) is garnering increased attention at many software organizations as leaders seek to optimize software delivery. ..there is acceptance among technical leaders that good developer experience enables more effective software delivery and developer happiness.

DevEx in Action
http://queue.acm.org/detail.cfm?ref=rss&id=3639443

@bbaudry
Copy link
Member Author

bbaudry commented Sep 24, 2024

Generative AI to Generate Test Data Generators
https://arxiv.org/pdf/2401.17626

@bbaudry
Copy link
Member Author

bbaudry commented Oct 10, 2024

What Makes Programmers Laugh? Exploring the Subreddit r/ProgrammerHumor
https://arxiv.org/abs/2410.07020

@bbaudry
Copy link
Member Author

bbaudry commented Oct 17, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant