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

The Latest Testing, Deployment, and Maintenance Topics

article thumbnail
Cypress Tutorial: A Comprehensive Guide With Examples and Best Practices
Level up your automation testing skills with our comprehensive Cypress Testing tutorial. Don't miss out on the opportunity to master this powerful tool.
May 24, 2023
by Sarah Elson
· 5,814 Views · 1 Like
article thumbnail
4 Expert Tips for High Availability and Disaster Recovery of Your Cloud Deployment
Learn how to continue operating uninterrupted despite downtime with high availability (HA) and disaster recovery (DR) approaches.
May 24, 2023
by Leon Kuperman
· 4,845 Views · 2 Likes
article thumbnail
DevOps Midwest: A Community Event Full of DevSecOps Best Practices
DevOps Midwest 2023 brought together experts in scale, availability, and security best practices. Read some of the highlights from this DevSecOps-focused event.
May 24, 2023
by Dwayne McDaniel
· 3,530 Views · 1 Like
article thumbnail
Virtual Machine Gaming: Setup and Performance Boost
Using a virtual machine for gaming is possible. Find out how to maximize performance and make gaming on a virtual machine smooth and pleasant.
May 24, 2023
by Alex Tray
· 2,632 Views · 1 Like
article thumbnail
SRE vs. DevOps
In this article, you will gain an understanding of the distinctions between Site Reliability Engineering (SRE) and DevOps.
May 24, 2023
by Pradeep Gopalgowda
· 4,845 Views · 2 Likes
article thumbnail
What Is End-To-End Testing? E2E Testing Tutorial With Examples and Best Practices
A comprehensive end-to-end Testing tutorial that covers what E2E Testing is, its importance, its benefits, and how to perform it with real-time examples.
May 24, 2023
by Kavita Joshi
· 4,375 Views · 1 Like
article thumbnail
How To Become a 10x Dev: An Essential Guide
Become an exceptional developer with dedication and effort. Reach success beyond expectations, including the possibility of becoming a tech lead.
May 24, 2023
by Wojciech Zawistowski
· 3,567 Views · 2 Likes
article thumbnail
Using OpenAI Embeddings Search With SingleStoreDB
In this article, we'll test the ability of SingleStoreDB to store and query the OpenAI Wikipedia Vector Database dataset.
May 24, 2023
by Akmal Chaudhri DZone Core CORE
· 3,242 Views · 2 Likes
article thumbnail
Auditing Tools for Kubernetes
These tools explain how they can help maintain security and compliance by identifying and mitigating vulnerabilities within a Kubernetes environment.
May 24, 2023
by Vasilii Kulazhenkov
· 11,805 Views · 4 Likes
article thumbnail
Observability Architecture: Financial Payments Introduction
Explore an open-source, standards-based, cloud-native observability platform that helps control the speed, scale, and complexity of a cloud-native financial payments architecture.
May 24, 2023
by Eric D. Schabell
· 10,436 Views · 6 Likes
article thumbnail
Building Resilient Systems With Chaos Engineering
Organizations can enhance their overall system performance with chaos engineering. This is because teams can pinpoint bottlenecks by testing the system's resilience.
May 23, 2023
by Charles Ituah
· 3,303 Views · 1 Like
article thumbnail
Auto-Scaling Kinesis Data Streams Applications on Kubernetes
This guide explores how to auto-scale your Kinesis Data Streams consumer applications on Kubernetes so you can save on costs and improve resource efficiency.
May 23, 2023
by Abhishek Gupta DZone Core CORE
· 15,775 Views · 5 Likes
article thumbnail
Security Challenges for Microservice Applications in Multi-Cloud Environments
Multi-cloud strategies bring new security concerns. As a result, organizations need to address them at every stage of their security measures.
May 23, 2023
by Pascal Tene
· 6,215 Views · 3 Likes
article thumbnail
A Complete Guide to AWS File Handling and How It Is Revolutionizing Cloud Storage
Learn about the world of AWS file handling, how it is revolutionizing cloud storage, and discover the different ways you can manage your files.
May 23, 2023
by Satrajit Basu DZone Core CORE
· 5,494 Views · 5 Likes
article thumbnail
Redefining DevOps: The Transformative Power of Containerization
Discover how containerization is revolutionizing software development and deployment in the era of DevOps. Enhanced business agility with this technology.
May 23, 2023
by Samir Hazra
· 8,525 Views · 3 Likes
article thumbnail
Tomorrow’s Cloud Today: Unpacking the Future of Cloud Computing
This article takes a journey into the future of cloud computing, discussing emerging trends such as autonomous and distributed cloud-generative AI tools.
May 23, 2023
by Navveen Balani
· 8,009 Views · 3 Likes
article thumbnail
Beginner Intro to Real-Time Debugging for Mobile Apps: Tools and Techniques
Real-time debugging tools and techniques can help beginner mobile app developers identify and resolve errors quickly, improving app performance and user experience.
May 23, 2023
by Michael Chukwube
· 2,703 Views · 2 Likes
article thumbnail
The Magic Testing Challenge: Part 2
My last article raised an interesting discussion whether you should see tests more as documentation or more as specification. I agree that they can contribute to both of them, but I still think tests are just - tests... There were also complaints about my statement that testing often becomes tedious work which nobody likes. Also here I agree, that techniques like TDD can help you to structure your code and make sure you code exactly what is needed by writing the tests, but the result of the process will still be a class which needs to be tested somehow. So I have set up another small challenge to show how the visual approach featured by MagicTest helps to make testing a breeze. As you know, traditional assertion-based test frameworks like TestNG or JUnit force us to include the expected results in the test code. Where this may be more or less suitable for simple tests (like in the previous article), it quickly becomes cumbersome if the test handles complex objects or voluminous data. The Task We must test the method createEvenOddTable() (see appended ) with the following functionality: Create HTML table (elements table, tr, td) with specified number of data rows and columns. An additional row will be added to store header information (element th). An additional column will be added which contains the row number (element th) The rows will have attribute class set to "head", "even", or "odd" for easy styling. Both the specification (the 4 lines above) and the source code itself (25 lines) are short and simple to understand, so any experienced developer will write this method in a few minutes. So what's the problem with testing this method? We will see if we look at how MagicTest handles this case. The Magic Test The MagicTest for this method looks like this: public class HtmlTableTest { @Trace public void testCreateEvenOddTable() { HtmlTable.createEvenOddTable(4, 3); } @Formatter(outputType=OutputType.TEXT) public static String formatElement(Element elem) { XMLOutputter serializer = new XMLOutputter(); serializer.setFormat(Format.getPrettyFormat()); return serializer.outputString(elem); } } Some details: We use the @Trace annotation to automatically capture information about calls to the method under test. We rely on naming conventions, so the method HtmlTable.createEvenOddTable() is tested by HtmlTableTest.testCreateEvenOddTable(). Per default, MagicTest uses the toString() method to report the parameter and return values. As the Element's toString() method returns only its name, we have to define a custom @Formatter to get the full XML tree. If we run the test, we get the following report: If we look at the XML element tree in the report, we can see all the details which a complete test should cover: correct nesting of elements (table, tr, td), correct header line, correct line numbers, correct number of rows, correct number of cells for each row, correct class attribute for each row, etc. But even if you end up with a bunch of lengthy assert statements like assert("head".equals(((Element) elem.getChildren("tr").get(0)).getAttributeValue("class"))); which tests for the correct class attribute, this will not be enough: you should also test the absence of the class attribute for all cells except the first ones in each row. So yes, for a sound test you must actually verify the whole XML tree - and this is exactly the information which MagicTest shows you for confirmation. Let the Challenge Begin To run the test yourself, you will need to download the MagicTest Eclipse plug-in. Copy it into the Eclipse dropins folder and restart Eclipse. Then download the attached Eclipse project and import it into your workspace. Run the test class TagsTest by executing Run As / MagicTest. After the first run, the test report will show up and all test steps will be red. This is the MagicTest way of telling you that a step has failed. In our case, the steps just fail because MagicTest simply does not know anything about the expected result. So we carefully check the output and confirm its correctness by clicking on the save button. Now all steps are green - and the test is successful. You have now seen how efficiently this test can be realized using MagicTest - it even looked like fun. Does your test tool accept the challenge? How many minutes and lines does it take you to write the test? I'm looking forward to your contributions! Appendix: Listing HtmlTable /** * Create HTML table (elements table, tr, td) with specified number of data rows and columns. * An additional row will be added to store header information (element th). * An additional column will be added which contains the row number (element th) * The rows will have attribute class set to "head", "even", or "odd" for easy styling. * * @param rows number of rows * @param cols number of column * @return XML element containing the HTML table */ public static Element createEvenOddTable(int rows, int cols) { Element table = new Element("table"); for (int r=0; r 0) { td.setText(Integer.toString(r)); } } } return table; }
May 23, 2023
by Thomas Mauch
· 5,239 Views · 1 Like
article thumbnail
Keeping in Touch With EclipseCon 2009
There's only one weekend left until we get to EclipseCon 2009 - and I can't wait! You'll have already seen what talks I'm looking forward to. We'll have lots of coverage of the conference here at EclipseZone. Another really easy way to follow the conference is by using Twitter to follow EclipseCon people. All you need to do to find these people is head over to the EclipseCon Birds Nest. There's four different ways to partipate - as a standard follower, as a speaker, an exhibitor or an attendee. There's going to be a Twitter monitor in the lounge area for people to watch what people are saying about the conference. Twittervision - how cool is that?! Ian Skerrett is also planning a tweetup on Sunday night. Over the last few weeks I've become a Twitter addict myself - it's a great way to keep in touch with the latest goings on. (If you want to follow me, just go to my profile as dzonejames.) In other EclipseCon news, Sun Microsystems have become a Gold Sponsor for the conference. They will be showing their Eclipse support for JavaFX, GlassFish and Solaris. It's good to see Sun there. If you haven't registered yet, there's still time for advance registration, ending today. Make sure to use your DZone coupon to get 10% off, using the DZONE10 code. Otherwise you can register on site. So, if you want to stay in the loop for EclipseCon, become part of the Birds Nest , follow me around on Twitter and keep visiting EclipseZone.
May 23, 2023
by James Sugrue
· 6,389 Views · 1 Like
article thumbnail
iOS First, Android Later (or Never)
You don't generally hear that you should develop for Android first, but even if you go iOS first, Android comes second. That's the traditional wisdom, anyways. According to Semil Shah on Haywire, though, "iOS first" is an understatement. It should be iOS first, and Android in the distant future, if at all. Shah is fairly direct with his point of view: The most common trap here is the early iOS app which gets some buzz. All of a sudden, the founders hear “When are you building for Android?” The natural, enthusiastic response to sincere requests of the Android chorus is to go ahead and build for Android and seek more downloads, more growth, more revenue. I have a different view though. The proper response is: “No. Buy an iPhone.” Shah's reasoning is presented in three central arguments: Android's fragmentation problem is too much for small teams iOS users have all the money (and their numbers are growing) Future Apple hardware (iPhone 5c, for example) may level the playing field And these are some interesting thoughts. The third point in particular is one you don't hear often - one of the big selling points of Android as a development platform is the massive reach, which is a product of the sheer number of phones in consumers' hands. After all, iOS traditionally has a higher barrier of entry when it comes to economics. On the other hand, we've already seen some counterarguments to some of these points. For example, if you ask Nick Bradbury, fragmentation is a completely overblown problem, and according to Danny Roa, there's not really that much point to supporting older devices in the first place. Similarly, Kevin Quach suggests that the common notions surrounding Android's monetization opportunities - that they're not there, basically, at least compared to iOS - are bunk as well. In other words, the "iOS first" vs. "Android first" argument may not be so clear in either direction. Check out Shah's full article for all the details.
May 23, 2023
by Alec Noller
· 7,957 Views · 1 Like
  • Previous
  • ...
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • ...
  • Next
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

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 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook
×