We recommend that you pass your driving theory test before booking any intensive driving course that includes a practical driving test. You can book your driving theory test here https://www.gov.uk/book-theory-test
If you book your course before passing the theory we provide full free access to www.theorytestpro.co.uk to help with your preparation.
It is not possible to book a practical test until you have passed the theory test and it is often several weeks from booking until the first available practical driving test appointment. So it is not realistic to expect to be able to pass both theory and practical driving tests in a week or even two.
Whether or not you have passed your theory your course will start on the booked date but the last day can be held back until the test day.