#assertions — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #assertions, aggregated by home.social.
-
Our next #JCON2026 session is live: 'Better #Assertions with #AssertJ' with @timtebeek
Not all #testing libraries are equal. Sure they all run your tests, but what happens when they #fail? “Expected ‘true’, was ‘false’” won’t help you …
Grab your coffee and hit play: https://youtu.be/W7BhLNVHuqo
-
Our next #JCON2026 session is live: 'Better #Assertions with #AssertJ' with @timtebeek
Not all #testing libraries are equal. Sure they all run your tests, but what happens when they #fail? “Expected ‘true’, was ‘false’” won’t help you …
Grab your coffee and hit play: https://youtu.be/W7BhLNVHuqo
-
J'adore l'idée, et elle est facilement applicable en Java. https://mastodon.social/@treyhunner/116602475738974535 #java #exception #assertions #méthode
-
J'adore l'idée, et elle est facilement applicable en Java. https://mastodon.social/@treyhunner/116602475738974535 #java #exception #assertions #méthode
-
JUnit ist das Standardwerkzeug für automatisierte Tests im Java-Umfeld. Wenn du mit Java arbeitest, wirst du früher oder später nicht daran vorbeikommen. Tests sind kein Selbstzweck und auch kein akademisches Konstrukt, sondern ein Werkzeug, das dir im Alltag hilft, Fehler früh zu erkennen und Änderungen sicher umzusetzen. Gerade bei wachsendem Codebestand ist das entscheidend.
https://magicmarcy.de/junit-basics-verstaendlich-erklaert
#ArrangeActAssert #JUnit #Assertions
#InitTest #Java #Erwartungen #Programming -
JUnit 5: Mehr Spaß und weniger Bauchschmerzen beim Entwickeln durch clevere Tests
-
Une librairie de capture de logs en Java, qui semble supporter l'ensemble des frameworks de logs, et permettre de faire des assertions assez claires sur ce qui a été écrit. https://github.com/Hakky54/log-captor?tab=readme-ov-file#capture-logs #java #log #assertions #extraction #library #opensource
-
Une librairie de capture de logs en Java, qui semble supporter l'ensemble des frameworks de logs, et permettre de faire des assertions assez claires sur ce qui a été écrit. https://github.com/Hakky54/log-captor?tab=readme-ov-file#capture-logs #java #log #assertions #extraction #library #opensource
-
One of the many good uses of assertions is to catch cases that Should Never Happen.
The textbook example is the last branch of a multi-way conditional statement where one of the conditions before the final "else" must always be true.Another, where there must always be an element to be found:
» for each x in ...
» » if x satisfies ...
» » » return x
» assert false -
One of the many good uses of assertions is to catch cases that Should Never Happen.
The textbook example is the last branch of a multi-way conditional statement where one of the conditions before the final "else" must always be true.Another, where there must always be an element to be found:
» for each x in ...
» » if x satisfies ...
» » » return x
» assert false -
#Business #Outlooks
The web isn’t URL-shaped anymore · How machines are changing the rules of the web https://ilo.im/165rul_____
#SearchEngine #SEO #Crawlers #KnowledgeGraphs #Assertions #AI #Development #WebDev #Frontend #HTML -
#Business #Outlooks
The web isn’t URL-shaped anymore · How machines are changing the rules of the web https://ilo.im/165rul_____
#SearchEngine #SEO #Crawlers #KnowledgeGraphs #Assertions #AI #Development #WebDev #Frontend #HTML -
-
If you have many assertions, you can also use the SoftAssertions to test all the assertions and give all the results at once.
Read more 👉 https://lttr.ai/ATQTo
#test #unitest #unitTest #testing #AssertJ #assertions #code #developer
-
Want to test the output of your Rust CLI project?
⬇️ Check out **assert_cmd**!
🦀 A Rust library for easy command initialization and assertions.
🧪 Asserts on the result of your program's run.
⭐ GitHub: https://github.com/assert-rs/assert_cmd
#rustlang #testing #cli #commandline #assertions #library #opensource
-
Want to test the output of your Rust CLI project?
⬇️ Check out **assert_cmd**!
🦀 A Rust library for easy command initialization and assertions.
🧪 Asserts on the result of your program's run.
⭐ GitHub: https://github.com/assert-rs/assert_cmd
#rustlang #testing #cli #commandline #assertions #library #opensource
-
Throwing an exception when a business rule is invalid is very common, but do you know that it is very easy to create a test for it?
Read more 👉 https://lttr.ai/AYtk5
#test #unitest #unitTest #testing #AssertJ #assertions #code #developer
-
Awesome AssertJ: Using Our Own Assertions Class
-
Awesome AssertJ: Using Our Own Assertions Class
-
The fluent API provided by AssertJ makes it easy to read and use.
Read more 👉 https://lttr.ai/AX66E
#test #unitest #unitTest #testing #AssertJ #assertions #code #developer
-
#GOP’s #closing #election #message on #healthcare baffles #strategists, #worries #experts
“No #Obamacare.” #Questioning #vaccines. No #fluoride in drinking #water. They’re all #Republican #assertions in the final days of the #presidential #campaign.
https://www.washingtonpost.com/politics/2024/11/04/gop-health-election-strategy/
-
#GOP’s #closing #election #message on #healthcare baffles #strategists, #worries #experts
“No #Obamacare.” #Questioning #vaccines. No #fluoride in drinking #water. They’re all #Republican #assertions in the final days of the #presidential #campaign.
https://www.washingtonpost.com/politics/2024/11/04/gop-health-election-strategy/
-
The AssertJ library provides a more fluent way to create assertions.
Read more 👉 https://lttr.ai/AUSSA
#test #unitest #unitTest #testing #AssertJ #assertions #code #developer
-
Test Assertions in Java the best way: https://lttr.ai/AUSR6
#test #unitest #unitTest #testing #AssertJ #assertions #code #developer
-
AssertJ is a Java library to create fluent assertions, and it provides many ways to validate your test.
Read more 👉 https://lttr.ai/AUSR7
#test #unitest #unitTest #testing #AssertJ #assertions #code #developer
-
“Visions Of The Future: Formal Verification In Rust”, Xavier Denis (https://xav.io/blog/rust-formal-verification/).
On Lobsters: https://lobste.rs/s/fekcju/visions_future_formal_verification_rust
#Rust #FormalVerification #HoareLogic #SeparationLogic #Correctness #Proof #Assertions #References #Aliasing
-
“Visions Of The Future: Formal Verification In Rust”, Xavier Denis (https://xav.io/blog/rust-formal-verification/).
On Lobsters: https://lobste.rs/s/fekcju/visions_future_formal_verification_rust
#Rust #FormalVerification #HoareLogic #SeparationLogic #Correctness #Proof #Assertions #References #Aliasing
-
I should have know this would happen. I've basically asked for this crash by placing a Q_UNREACHABLE() statement in that very line...
ASSERT failure in Q_UNREACHABLE(): "Q_UNREACHABLE was reached", file .../mainwindow.cpp, line 666
-
I should have know this would happen. I've basically asked for this crash by placing a Q_UNREACHABLE() statement in that very line...
ASSERT failure in Q_UNREACHABLE(): "Q_UNREACHABLE was reached", file .../mainwindow.cpp, line 666
-
J'ignorais complètement qu'assertj disposait d'un plugin maven permettant de générer des assertions pour les classes que j'écris. C'est très cool! https://github.com/assertj/assertj-assertions-generator #java #maven #assertions #test #générateur #code
-
J'ignorais complètement qu'assertj disposait d'un plugin maven permettant de générer des assertions pour les classes que j'écris. C'est très cool! https://github.com/assertj/assertj-assertions-generator #java #maven #assertions #test #générateur #code
-
Une façon intéressante d'écrire des assertions, quelquesoit le framework de test, pour éviter qu'elles ne plantent à la première erreur mais affichent plutôt un rapport agrégé. https://foojay.io/today/soft-assertions-testing-kindly/ #java #test #assertions #astuce
-
Une façon intéressante d'écrire des assertions, quelquesoit le framework de test, pour éviter qu'elles ne plantent à la première erreur mais affichent plutôt un rapport agrégé. https://foojay.io/today/soft-assertions-testing-kindly/ #java #test #assertions #astuce
-
#Puberty, #gender #transitioning and #reversibility: #Fact #checking #DanielleSmith’s #Disinformation.
#Premier #DanielleSmith made the #announcement on #Wednesday with several #questionable #assertions made about #trans #people and #transitioning #genders.
#Women #Transgender #LGBTQ #LGBTQIA #Canada #Alberta #Conservatives #Extremism #Fascism #Hate #Bigotry #Violence #Genocide #Discrimination #Transphobia
-
#Puberty, #gender #transitioning and #reversibility: #Fact #checking #DanielleSmith’s #Disinformation.
#Premier #DanielleSmith made the #announcement on #Wednesday with several #questionable #assertions made about #trans #people and #transitioning #genders.
#Women #Transgender #LGBTQ #LGBTQIA #Canada #Alberta #Conservatives #Extremism #Fascism #Hate #Bigotry #Violence #Genocide #Discrimination #Transphobia
-
Fourth #Republican #Debate Serves Up Most #Transphobia So Far
There were #false #assertions about #genderaffirming #Healthcare, a #dig at #DylanMulvaney, and one #candidate calling #trans #identity a #disorder.
#Women #Transgender #LGBTQ #LGBTQIA #Conservatives #Extremism #Fascism #RepublicanParty #Hate #Bigotry #Violence #Genocide #Discrimination #Transphobia #ThePartyOfHate
https://www.advocate.com/politics/reppublican-debate-transphobia
-
Fourth #Republican #Debate Serves Up Most #Transphobia So Far
There were #false #assertions about #genderaffirming #Healthcare, a #dig at #DylanMulvaney, and one #candidate calling #trans #identity a #disorder.
#Women #Transgender #LGBTQ #LGBTQIA #Conservatives #Extremism #Fascism #RepublicanParty #Hate #Bigotry #Violence #Genocide #Discrimination #Transphobia #ThePartyOfHate
https://www.advocate.com/politics/reppublican-debate-transphobia
-
#NikkiHaley Falsely #Connects #Trans #Athletes to #Girls’ #Suicide - Yet Again.
The former #governor #madeup #false #assertions about #transgender #girl #athletes negatively affecting the #mentalhealth of #cisgender #teen #girls at a #CNN #townhall event.
#Women #Transgender #LGBTQ #LGBTQIA #SouthCarolina #Misinformation #JunkScience #RepublicanParty #Hate #Bigotry #Violence #Genocide #Discrimination #Transphobia #ThePartyOfHate
https://www.advocate.com/politics/nikki-haley-townhall-athletes-suicide
-
#NikkiHaley Falsely #Connects #Trans #Athletes to #Girls’ #Suicide - Yet Again.
The former #governor #madeup #false #assertions about #transgender #girl #athletes negatively affecting the #mentalhealth of #cisgender #teen #girls at a #CNN #townhall event.
#Women #Transgender #LGBTQ #LGBTQIA #SouthCarolina #Misinformation #JunkScience #RepublicanParty #Hate #Bigotry #Violence #Genocide #Discrimination #Transphobia #ThePartyOfHate
https://www.advocate.com/politics/nikki-haley-townhall-athletes-suicide
-
#RaymondTallis - What is #Truth?
https://www.youtube.com/watch?v=WLhTG7etzlc&ab_channel=CloserToTruth
#Philosophy #Logic #PhilosophyOfLogic #Assertions #States #StatesOfAffairs #Belief #JTB #JustifiedTrueBelief #Pragmatism #Minimalism #Predicate #Predicates #Relativism #Noumenal #Ontological #Kant #Kantian #DingAnSich #CloserToTruth #RobertKuhn
-
#RaymondTallis - What is #Truth?
https://www.youtube.com/watch?v=WLhTG7etzlc&ab_channel=CloserToTruth
#Philosophy #Logic #PhilosophyOfLogic #Assertions #States #StatesOfAffairs #Belief #JTB #JustifiedTrueBelief #Pragmatism #Minimalism #Predicate #Predicates #Relativism #Noumenal #Ontological #Kant #Kantian #DingAnSich #CloserToTruth #RobertKuhn
-
@jtrentadams @rigo HT to Lucy L. formerly of ISOC, who warned us before she retired that this whole #assertions -confusion thing would lead us straight to hell.
-
If you're serious about #objectOriented programming, try to use #DesignByContract to the fullest extent your language supports it. Your future debugging self will thank you. At the very least, liberally use #assertions throughout your code to state what should be true at any given point in your code.