ExitCertified Formation Formation de Java Solaris Red Hat IBM Symantec Siebel PeopleSoft
 
ExitCertified Formation Formation de Java Solaris Red Hat IBM Symantec Siebel PeopleSoft
 
start courses and schedules education savings it certification education solutions
recherche de formation
Faites confiance à votre formation en TI   |
Oracle University reconnaît ExitCertified comme Partenaire en formation de l’année en Amérique du Nord.

Mastering Test Driven Development Using JUnit  (TT-3500)

Format: Formation en classe avec formateur
Autres formats:
 
Mastering Test Driven Development using JUnit is a five-day, comprehensive hands-on test-driven development / JUnit / TDD training course geared for developers who need to get up and running with essential Test-driven development programming skills using JUnit and various open-source testing frameworks. Throughout the course students learn the best practices for writing great programs in Java, using test-driven development techniques. This comprehensive course also covers essential TDD topics and skills.

Students who attend Mastering Test-Driven Development using JUnit will leave the course armed with the skills they require to develop solid Java programs, using sound coding testing techniques and best coding practices. This course quickly introduces developers to the features of JUnit and educates them regarding JUnit’s strengths and weaknesses.


 

A complete understanding of TDD concepts, processes, and practices requires some in-depth hands-on experience. During this class, students spend significant time working on a course project. The project exercises are specifically oriented towards using TDD to implement a complex and multi-faceted web application that uses a database in its final form. During the course project, the students:


Test basic Java functionality
Test web-functionality implemented in JEE
Use mocks for needed resources
Replace mocks and test database operations
Optionally, integrate the layers of the application using Spring and testing as they progress


 
This Course is Taught By Certified Instructors   Flex Training Savings
 

Compétences acquises

  This course includes coverage of many of the essential JUnit capabilities, and can be tailored to focus exactly on the areas that you are interested in. Working within in a dynamic, learning environment, guided by our expert TDD team, attendees will::
 
  • Understand JUnit.

  • Understand and use the JUnit Test Runner interface.

  • Use JUnit to drive the implementation of Java code.

  • Test applications using native IDE support.

  • Best practices and patterns for test development.

  • Understand JUnit’s strengths and weaknesses

  • Understand the role of debugging when done in conjunction with tests.

  • Understand not only the fundamentals of the TDD using Java, but also its importance, uses, strengths and weaknesses.

 
  • Understand how JUnit affects your perspective on development and increases your focus on a task.

  • Learn good JUnit coding style.

  • Create well structured JUnit programs.

  • Compile and execute programs using JUnit, jWebUnit, and DBUnit using the IDE of your choice.

  • How to extend testing with mock objects using EasyMock.

  • Look at refactoring techniques available to make code as reusable/robust as possible.

  • Discuss various testing techniques.

Qui peut en profiter

  This is an intermediate-to-advanced level Java course, designed for developers who wish to get up and running on test-driven development immediately.
 
  • Experienced Java programmers

 

    Préalables

      Attendees should be familiar with Java and object-oriented technologies. Real world programming experience is a must.

    The following JUnit-based testing frameworks are examined:

     
    • JUnit 4.x

    • jWebUnit

     
    • EasyMock

    • DBUnit

     
    Enroll For This Class
    Enroll For This Class
    MySQL Database Training Class Ce cours de qualité supérieure est donné par des formateurs certifiés.

    Il y a une différence. Découvrez-la
    Training Class Enrollment Ask A Question About This Training
    Code: TT-3500
    Format: Formation en classe avec formateur
    Durée: 5 days
    Certifié par: Trivera
    Frais d’inscription (CAD): 2,400$
    Oracle University Awards ExitCertified the North American Partner of the Year Award for 2011
    Recherchez des cours semblables
    Cours connexes

    Trier l'horaire par: 
    No Course Dates Ce cours n'est pas prévu à l'horaire pour l'instant. Si vous êtes intéressé à suivre ce cours, utilisez le lien ci-dessous pour demander une date.
       
    demander la date/l’emplacement demander de la formation sur place
     

    Mastering Test Driven Development Using JUnit  (TT-3500) Contenu détaillé

     
     
    Session: Introducing Test-Driven Development (TDD)
    Lesson: Test-Driven Development
    • Overview of Test-driven Development
    • Test, code, refactor, repeat
    • The ROI of TDD
    • - Rationale for Test-driven Development
    • - The Process of TDD
    • - Advantages to TDD
    • - Side-effects of TDD
    • - Observations About Tests
    • Rationale
    • Advantages
    • Tools
    Session: JUnit
    Lesson: JUnit Overview
    • What is Unit Testing?
    • Purpose of Unit Testing
    • Successful Unit Testing
    • Good Unit Tests
    • Test Stages
    • Unit Test Stage
    • Integration Test Stage
    • Unit Testing Vs Integration Testing
    • Functional Testing
    • Non-Functional Testing
    Lesson: Jumpstart: JUnit 4.x
    • Understanding Unit Testing Frameworks
    • JUnit Overview
    • JUnit Design Goals
    • JUnit Features
    • Reasons to Use JUnit
    • How JUnit Works
    • Class to be Tested
    • Test Case using JUnit
    • Exploring JUnit
    • Writing the TestCase
    • Test Result Verification (Assertions)
    • Assert
    • Launching Tests
    • Failures vs. Errors
    • Introducing Class Message
    • Creating Class MessageTest
    • The First Test Implementation Steps
    • The Initial Test Code
    • Testing the Constructor
    • Running a Test in an IDE
    • Running a Test From the Command Line
    • Seeing Results of a Test: JUnit View
    • Using the Results of a Test
    • Seeing Results of a Successful Test
    • Test Suites
    • Creating a Test Suite
    • Composing Tests Using Suite
    • JUnit Test Fixture
    • Managing Resources with Fixtures
    • Share Similar Objects
    • Share Expensive Setups
    • JUnit Method Lifecycle
    • JUnit: Resources
    Lesson: @Test Annotation
    • Test Execution Cycle
    • Checking for Exceptions
    • Limitation of Expected Parameter
    • Testing for an Expected Exception
    • Testing Using a Timeout
    • Using Timeouts
    • Test Annotation: Resources
    Lesson: Hamcrest
    • About Hamcrest
    • junit.assert.Assert.assertThat(...)
    • The Hamcrest Matcher Framework
    • Using assertThat
    • Hamcrest Matchers - Logical
    • Hamcrest Matchers - Object
    • Hamcrest Matchers - Number
    • Hamcrest Matchers - Collections
    • Additional Hamcrest Matchers
    • Hamcrest: Resources
    Lesson: Parameterized Tests
    • Parameterize a Test Case
    • Injecting the Parameters
    • Setting the Parameters
    • Write the Test Method
    • Writing a Parameterized Test
    • Test Execution Cycle
    • Observations
    • Parameterized Tests: Resources
    Lesson: Theories
    • Writing Theory Enabled Tests
    • Defining DataPoints
    • Defining Theories
    • Test Execution Cycle
    • Observations
    • Theories: Resources
     
    Lesson: JUnit Best Practices
    • So What is a "Good" Test?
    • Good: Readable Equates to Maintainable
    • Good: Proper Organization and Structure
    • Good: Test the Right Thing
    • Good: Run in Solitude
    • Practices to Reduce and Manage Dependences
    • Good: Reliability
    • Importance of Quality of Assertions
    • Bad Smell: Primitive Assertions
    • Bad Smell: Broad Assertion
    • Bad Smell: Hidden Beef
    • Bad Smell: Split Personality
    • Bad Smell: Split Logic
    • Managing Data
    • Bad Smell: Parameterized Mess
    • Coding Practices
    • Legacy Code
    • Preparing Unit Test Environment
    • Stubs -> Mocks
    • White-Box Unit Testing
    • Black-Box Unit Testing
    • Keys to Success
    • Boundary Between Unit and Integration Testing
    • Integration Testing
    • Purpose of Integration Testing
    • Who Does Integration Testing
    • The Lowest Bar for Unit Testing
    • Automated Testing
    • Automation and Coverage
    • Working With Coverage Analysis
    Session: Testing Tools
    Lesson: Web Testing: jWebUnit/HttpUnit
    • Presentation testing
    • Integration testing
    • jWebUnit
    • jWebUnit/HttpUnit
    Lesson: Mocking of Components
    • Why We use Test Dummies
    • Isolation
    • Improving Speed and Reliability
    • Handling Special Conditions and Hidden Data
    • Types of Test Dummies
    • Stubs
    • Mock Objects
    • Working with Mock Objects
    • Challenges of Testing User Interfaces
    • Using Mocks with the User Interface
    • Mock Object Strategies
    Lesson: Mock Objects and EasyMock
    • EasyMock Description and Features
    • EasyMock Object Lifecycle
    • Types of Mock Objects (in EasyMock)
    • Create Phase: Creating EasyMock Mock Objects
    • Create Phase: Creating Mock Objects Directly
    • Create Phase: Creating Mocks Using a Control
    • Expect Phase: Recording Methods Returning Void
    • Expect Phase: Record Methods Returning Value
    • Expect Phase: Record Throwing Exception
    • Expect Phase: Call Repetition
    • Expect Phase: Matchers
    • Replay Phase: Preparing Mock Objects
    • Verify Phase: Checking that Expectations are Met
    • Mocking Complex Objects
    • Testing with Dependencies
    • Decoupling Dependent Classes
    • Testing with Mocks
    • EasyMock HOWTO
    Session: Advanced Topics
    Lesson: State-based vs. Interaction-based Testing
    • State-based vs. Interaction-based Testing
    • State-based Testing
    • Interaction-based Testing
    • Pros and Cons of Each
    • Scenarios and Examples
    Lesson: Improving Code Quality Through Refactoring
    • Refactoring Overview
    • Sample of Refactorings
    • Refactoring and Testing
    • Suggested Refactoring
    • The Impact of Refactoring
    • Refactoring to Design Patterns
    • Sample Refactorings
    • Best Practices
    • Refactoring
    • Naming conventions
    • Organizing test suites
    Lesson: Database Testing
    • Database Testing: DBUnit
    • Issues related to database testing
    • Persistence mechanisms
    • DBUnit
    Appendix: Adding Testing to the Build Process
    • JUnit and Ant
    • The Ant JUnit Tag
    • Example Ant Build File
    • Running JUnit Tests From Ant
    • Generating a JUnitReport


      ExitCertified is your Authorized IT Training Partner  
      Lorsque vous suivez un cours certifié chez ExitCertified, vous apprenez directement des concepteurs des produits que vous utilisez. Notre engagement envers la communauté des TI, de même que notre autorisation à offrir des cours certifiés, vous assurent une expérience de formation supérieure. Il y a une différence. Apprenez directement de la source.

    Il y a une différence. Apprenez directement de la source.
     
    Training Contacts  
       
    Canada United States

    Formation à Montréal :: 514.876.1666
    Formation à Ville de Québec :: 514.876.1666
    Formation à Ottawa :: 613.232.3948
    Formation à Toronto :: 416.487.3948

    Formation à Vancouver :: 604.633.3948
    Formation à Victoria :: 1.866.328.3948
    Formation à Calgary :: 403.291.2855
    Formation à Edmonton :: 780.441.3948
    Formation à Regina :: 1.866.328.3948

    Formation à Sacramento :: 916.669.3970
    Formation à San Francisco :: 415.975.3948
    Formation à San Jose :: 408.288.3948
    Formation à Las Vegas :: 1.800.803.3948
    Formation à Phoenix :: 602.889.9350
    À travers le monde - 613.232.3948 Des questions?
    Il nous fait plaisir de vous aider. Transmettez-nous ce formulaire par courriel et nous vous répondrons dans les plus brefs délais.
       



    (c) 2012 ExitCertified Corp. Tous droits réservés.


    ExitCertified est un fournisseur international agréé de formation en technologies. Voici quelques-uns de nos cours les plus souvent consultés :
     
    Formation Sun Formation Oracle Formation Symantec Formation IBM Formation Red Hat :: Linux
    Formation Java, Cours J2EE, Formation JSP, servlets, EJB, Struts, réseaux, Formation Solaris, Java Composite Application Platform (JCAPS), SeeBeyond, XML, Formation Solaris 10, certification Java, certification Solaris Cours PeopleSoft, 11g, Formation Oracle SQL, Oracle PL/SQL, DBA, Hyperion, Fusion Middleware, 10g, 9i, certification 11g, certification DBA, certification Oracle Formation NetBackup, Cours Veritas, protection contre les virus, sécurité des TI, certification Symantec DB2, OS/400, Formation zSeries, s/390, iSeries, AIX SUSE, Formation RedHat
             
    Formation MySQL Formation Apple Formation en gestion de projet    
    Base de données MySQL Cours Apple, Formation Leopard Formation du PMI