DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Low-Code Development: Leverage low and no code to streamline your workflow so that you can focus on higher priorities.

DZone Security Research: Tell us your top security strategies in 2024, influence our research, and enter for a chance to win $!

Launch your software development career: Dive head first into the SDLC and learn how to build high-quality software and teams.

Open Source Migration Practices and Patterns: Explore key traits of migrating open-source software and its impact on software development.

The Latest Agile Topics

article thumbnail
Embracing Continuous Delivery: Unleashing the Power of Agile Software Development
In this article, we will explore the concept of continuous delivery and its numerous benefits for modern software development.
October 30, 2023
by Aditya Bhuyan
· 3,041 Views · 3 Likes
article thumbnail
MuleSoft: Do You Have an Extra Mule Under the Hood?
The design principle of separation of concerns can be seen in action in this article, which presents a real-life example of MuleSoft.
October 25, 2023
by Alex Bogomol
· 4,415 Views · 1 Like
article thumbnail
Popular Enterprise Architecture Frameworks
Appropriate EA framework selection is critical for Enterprise Architects based on the Organization's needs and goals.
October 24, 2023
by Ravi Kiran Mallidi DZone Core CORE
· 4,455 Views · 4 Likes
article thumbnail
Saying No as a Product Owner or Product Manager
In this post, learn how to maintain a harmonious balance between driving Product Goals and nurturing professional relationships with your stakeholders.
October 23, 2023
by Stefan Wolpers DZone Core CORE
· 2,337 Views · 3 Likes
article thumbnail
7 Popular Unit Test Naming Conventions
The article presents a compiled list of unit tests naming strategy that one could follow for naming their unit tests. The article is intended to be a quick reference instead of going through multiple great pages such as following. That said, to know greater details, please feel free access one of these pages listed below and know for yourself. What are some popular naming conventions for unit tests? Unit Tests Naming Best Practices GivenWhenThen Technique How to Unit Test Stream Pipelines and Lambdas CI/CD Pipeline Testing Following are 7 popular unit tests naming conventions that are found to be used by majority of developers and compiled from above pages: MethodName_StateUnderTest_ExpectedBehavior: There are arguments against this strategy that if method names change as part of code refactoring than test name like this should also change or it becomes difficult to comprehend at a later stage. Following are some of the example: isAdult_AgeLessThan18_False withdrawMoney_InvalidAccount_ExceptionThrown admitStudent_MissingMandatoryFields_FailToAdmit MethodName_ExpectedBehavior_StateUnderTest: Slightly tweaked from above, but a section of developers also recommend using this naming technique. This technique also has the disadvantage that if method names get changed, it becomes difficult to comprehend at a later stage. Following is how tests in first example would read like if named using this technique: isAdult_False_AgeLessThan18 withdrawMoney_ThrowsException_IfAccountIsInvalid admitStudent_FailToAdmit_IfMandatoryFieldsAreMissing test[Feature being tested]: This one makes it easy to read the test as the feature to be tested is written as part of test name. Although, there are arguments that the “test” prefix is redundant. However, some sections of developer love to use this technique. Following is how the above tests would read like if named using this technique: testIsNotAnAdultIfAgeLessThan18 testFailToWithdrawMoneyIfAccountIsInvalid testStudentIsNotAdmittedIfMandatoryFieldsAreMissing Feature to be tested: Many suggest that it is better to simply write the feature to be tested because one is anyway using annotations to identify method as test methods. It is also recommended for the reason that it makes unit tests as an alternate form of documentation and avoids code smells. Following is how tests in first example would read like if named using this technique: IsNotAnAdultIfAgeLessThan18 FailToWithdrawMoneyIfAccountIsInvalid StudentIsNotAdmittedIfMandatoryFieldsAreMissing Should_ExpectedBehavior_When_StateUnderTest: This technique is also used by many as it makes it easy to read the tests. Following is how tests in first example would read like if named using this technique: Should_ThrowException_When_AgeLessThan18 Should_FailToWithdrawMoney_ForInvalidAccount Should_FailToAdmit_IfMandatoryFieldsAreMissing When_StateUnderTest_Expect_ExpectedBehavior: Following is how tests in first example would read like if named using this technique: When_AgeLessThan18_Expect_isAdultAsFalse When_InvalidAccount_Expect_WithdrawMoneyToFail When_MandatoryFieldsAreMissing_Expect_StudentAdmissionToFail Given_Preconditions_When_StateUnderTest_Then_ExpectedBehavior: This approach is based on a naming convention developed as part of Behavior-Driven Development (BDD). The idea is to break down the tests into three part such that one could come up with preconditions, state under test and expected behavior to be written in the above format. Following is how tests in first example would read like if named using this technique: Given_UserIsAuthenticated_When_InvalidAccountNumberIsUsedToWithdrawMoney_Then_TransactionsWillFail My personal favorite is naming unit tests based on the writing features of the class under test. It helps me to make sure that a class follows single responsibility. It also aids a great deal in code refactoring. Related: How to Integrate Cucumber for Spring Boot Integration Tests
October 23, 2023
by Ajitesh Kumar
· 718,475 Views · 31 Likes
article thumbnail
Create and Add Custom Statuses in Jira
If you want to modify or add new statuses in Jira, follow this step-by-step guide.
October 23, 2023
by Oleksandr Siryi
· 2,288 Views · 1 Like
article thumbnail
GitHub Compliance – All You Need To Know
This article will discuss GitHub compliance regulations that CTOs and Security leaders should keep in mind. What is compliance and why is it important?
October 23, 2023
by Daria Kulikova
· 3,060 Views · 2 Likes
article thumbnail
An Agile Coach’s Guide To Storytelling [Video]
In this interview, Bob Galen shares his experience coaching an Agile coach struggling to connect with a development manager.
October 16, 2023
by Stefan Wolpers DZone Core CORE
· 3,442 Views · 3 Likes
article thumbnail
Software Development Engagement Models: What To Choose
Top six software development engagement models: pros, cons, features, and best use cases. Learn how to choose the best option for your project in this post.
October 12, 2023
by Alex Vakulov
· 3,908 Views · 4 Likes
article thumbnail
Graph-Oriented Solutions Enhancing Flexibility Over Mutant Requirements
An Enterprise experience with Neo4j graph-oriented DBMS on a JakartaEE RESTful architecture for satisfying frequent changes in software requirements in Agile approaches.
October 12, 2023
by Cosimo Giani
· 4,295 Views · 7 Likes
article thumbnail
Should We Change Scrum?
Or is it blasphemy to tweak the "immutable" framework to accommodate our teams’ and organizations’ needs?
October 10, 2023
by Stefan Wolpers DZone Core CORE
· 4,906 Views · 7 Likes
article thumbnail
Everything You Need to Know About Story Points in Jira
What are story points? How does one estimate a story with points? How much time do story points take? Learn the answers to these and more questions.
October 4, 2023
by Oleksandr Siryi
· 4,209 Views · 4 Likes
article thumbnail
Exploring Leading Software Development Methodologies
Discover Agile, Waterfall, and more! Dive into the world of software development methodologies. Learn, compare, and choose the best for your project.
October 2, 2023
by Lucas Lagone
· 2,803 Views · 3 Likes
article thumbnail
Minimum Viable Library Part 3: Agile Leadership Edition
Explore a series of carefully curated collections of essential books, newsletters, podcasts, and tools to elevate your Agile expertise.
October 2, 2023
by Stefan Wolpers DZone Core CORE
· 2,417 Views · 3 Likes
article thumbnail
Function’s Anatomy and Beyond
Learn more about Java functions and much more.
October 2, 2023
by Sergiy Yevtushenko
· 5,300 Views · 5 Likes
article thumbnail
From Pure Agile to Agile Testing Practices
Agile methodology has become very popular in this digital era. Agile strives to reduce efforts, yet it delivers high-quality features or value in each build.
September 29, 2023
by Ritu Neekhra
· 4,276 Views · 12 Likes
article thumbnail
Exploring String Reversal Algorithms: Techniques for Reversing Text Efficiently
In this article, we will explore different string reversal algorithms, discuss their approaches, analyze their time and space complexities.
September 28, 2023
by Aditya Bhuyan
· 4,101 Views · 3 Likes
article thumbnail
Lost in Communication and Collaboration
Learn more about ineffective collaboration at the stakeholder level, often resulting in an unsuited reporting system based on misaligned metrics.
September 26, 2023
by Stefan Wolpers DZone Core CORE
· 2,318 Views · 3 Likes
article thumbnail
Wild West to the Agile Manifesto [Video]
Wild West to the Agile Manifesto — Jim Highsmith on the evolution of agile product development at the 52. Hands-on Agile Meetup.
September 25, 2023
by Stefan Wolpers DZone Core CORE
· 2,041 Views · 2 Likes
article thumbnail
Why Are There So Many Definitions of Lead Time?
In this post, we'll look at why there are so many definitions of lead time and how you can put them to use.
September 25, 2023
by Steve Fenton
· 3,795 Views · 5 Likes
  • Previous
  • ...
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • ...
  • Next

ABOUT US

  • About DZone
  • Send feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: