Björn Granvik is R & D Manager at Jayway, a company focused on Java. He is responsible for furthering the company's technical competence.He mixes coding with seminars, architecture with café latte and late night hacking with wife and three children. He actually believes that code can be fun and beautiful.In his 15 years as programmer and architect, his career has ranged from the detailed to the general, from C++ to Java, from game development to enterprise systems and then some. Add to this a penchant for sharing knowledge and a large helping of architecture-that-works-in-real-life and you get a fair picture of this not particularly hairy person. Björn has many seminars and articles on various Java topics on his conscience, but his true kaizen remains the continuous improvement of coding.
|
Presentation: "Introduction: Test and Profiling Performance"
Track:
Test and Profiling Performance
Time: Tuesday 10:15 - 10:45 Location: SAS Nortvegia Presentation: "DDSteps - the Data Driven Testing Show"
Track:
Test and Profiling Performance
Time: Tuesday 17:00 - 17:45 Location: SAS Nortvegia
Abstract: Are you and your team wasting endless hours clicking around to test your website?
Are you considering buying mega-expensive tools that cannot be integrated into your build process?
Finally, there is a good, open-source solution that brings together JUnit and powerful, end-to-end testing of your website.
Learn how to program really reusable function tests components in DDSteps. Learn how to manage really large volumes of test data easily. Learn how to draw the line between test code and test data to make them both reusable. Testing websites is hard, because a full end-to-end test requires lot of test data. Also, you need to test the same flows over and over, using different data, to really cover all your bases. DDSteps is a data driven extension to JUnit, which means you keep your JUnit skills, you have the full power of Java when writing tests, but you keep all the data separated. Tests are then reused, just varying the input and output data for each run. DDSteps does the last part for your - running your test methods more than once, setting up your JUnit testcase with different data for each run. How? We'll tell you! Test data management is absolutely the key to success - bad test data management is the killer of many other tools on the market. DDSteps handles all data in an elegant and consistent way - fixture data for your database, input data for your test cases, expected output data for verifying both the web and your database. How? Come see the show! Since JUnit test can be run virtually everywhere, in your IDE or using Ant and Maven, your function tests can now be integrated into your automated build process. How? Let us show you!Tutorial: "DDSteps - Building data driven tests using JUnit"
Track:
Tutorials
Time: Thursday 13:00 - 16:00 Location: SAS Room 11
Abstract: DDSteps is a new and innovative toolkit for building powerful, reusable and data driven tests using JUnit. The killer app is web site testing!
Most test code today is typically very mixed up with data, making it cluttered and hard to reuse. When testing for instance a web site end-to-end, you usually want to perform the same "flow" many times, just with different input. DDSteps will make that happen, since it works with data driven test steps that get their data injected at runtime. Test code and test data is kept separately, handling both in the best way possible.
Moreover, some solutions force you to have your web site up and running before "recording" a test script. DDSteps takes the completely reverse approach - you develop test steps in parallel with your web site. Tests can be run as soon as your code is ready. The DDSteps tests you develop don't break as easily, as they do not depend on a particular HTML layout. The base ingredients for this magic sauce can be found in any typical project: Excel or XML for input, your ordinary Java beans (pojos) for bridging and JUnit for seamless interaction. By adding DDSteps we get that great taste of reuse and power! In this tutorial we will show you that it is very possible to build automatic JUnit tests for your website and other types of systems that will not break your back. We will show you how to design and implement data driven test cases and test steps using DDSteps for every-day problems. And how they fit in the day-to-day life of your project. And yes: it's open source. |
|||