TESTC2 | Advanced and functional tests with Symfony

  • This half-day course shows the different workings of functional testing.
  • Prerequisites

    Personal skills: Good use of PHP, IDE (PHPStorm prefered) and Symfony. Required tools: PHP 7.2.5 or above, Composer, Symfony CLI.
  • Goals

    Learners will use all the tools (Client, Profiler, DomCrawler...) allowing to carry out complete functional test scenarios, in accordance with their Symfony application.

Full program

Introduction to double test

  • Definitions and concepts of doubles (Stub, Dummy, Mock),
  • Create your first plug (Stub) with createMock () and therefore getMockBuilder (),
  • Mocking a class: multiple arguments, expectations, returns, traits, summaries,
  • Prophecy to create liners,
  • TP

Introduction to functional tests

  • Definitions and concepts,
  • Create your first smoke test,
  • Test with the client
  • Test with DomCrawler
  • Profiler test
  • TP

Time program

Day 1

Appreciation of the training

Global average :

  1. Educational rating : N.C
  2. Content rating : N.C
  3. Pace rating : N.C
  • Duration

    3 hour(s)
  • Level

    Intermediate
  • Available languages

    French
  • Available countries

    Worldwide
From €390.00
No session scheduled

No session is scheduled for this course. However we organize tailored training courses: contact us for more informations!