Skip to content

C4 · Testing & Evaluation

Spec reference: Learning Aim C - Develop a Website to Meet Client Requirements Key idea: A website must be systematically tested and evaluated against the original client brief.


Why testing matters

Testing ensures your website:

  • Works correctly across different browsers and devices
  • Meets the client's requirements from the brief
  • Has no broken links, missing images or layout errors
  • Is accessible to all users
  • Loads at an acceptable speed

In your assignment, you must provide evidence of testing - not just say "I tested it".


Types of testing

Functional testing

Checks that all features work correctly:

What to testHow to testPass/Fail
All navigation links go to the correct pageClick every link
Contact form validates correctlySubmit with empty fields / invalid email
Contact form accepts valid dataSubmit with correct data
Images load on all pagesView each page
No 404 errorsClick every link and image
JavaScript features workUse each interactive element

Browser compatibility testing

Test in at least three browsers:

BrowserTestedIssues found
Chrome
Firefox
Safari / Edge
Mobile Chrome
Mobile Safari

Responsive testing

Check the layout works on different screen sizes:

Screen sizeTestedIssues
Mobile (375px)
Tablet (768px)
Desktop (1200px)
Large desktop (1440px)

Use Chrome DevTools (F12 → Toggle Device Toolbar) to simulate different screen sizes.

Accessibility testing

  • Run Google Lighthouse (F12 → Lighthouse → Accessibility)
  • Check all images have alt text
  • Test keyboard navigation (Tab key to move through elements)
  • Check colour contrast with WebAIM Contrast Checker
  • Test with browser zoom at 200% - does layout still work?

Performance testing

Run Google Lighthouse (F12 → Lighthouse → Performance):

  • Aim for 90+ on all categories
  • Note and explain any areas scoring below 90

Test table example

A test table documents your testing systematically:

Test #What was testedExpected resultActual resultPass/FailEvidence
1Click "Products" in navigationOpens products.htmlOpened products.html✅ PassScreenshot
2Submit contact form with no nameError message displayed"Please enter your name" shown✅ PassScreenshot
3Submit contact form with valid dataSuccess message shownSuccess message shown✅ PassScreenshot
4View site on mobile (375px)Single column layoutLayout displayed correctly✅ PassScreenshot
5View site in FirefoxSame appearance as ChromeSlight margin difference⚠️ IssueScreenshot

Evidence

Take screenshots at each stage and reference them in your test table. Markers need to see that you actually tested - not just that you wrote a table.


Fixing issues found in testing

When testing reveals a problem:

  1. Describe the issue clearly - "The navigation menu overflows off screen on mobile (375px width)"
  2. Identify the cause - "The nav links don't wrap because of white-space: nowrap"
  3. Describe the fix - "Added a media query to hide desktop nav and show hamburger menu below 768px"
  4. Retest - confirm the fix works
  5. Document - add the fix and retest result to your test table

Evaluation

An evaluation is a written reflection on your finished website. It must:

  1. Measure against the brief - does it meet every requirement?
  2. Identify strengths - what works well and why?
  3. Identify weaknesses - what could be improved?
  4. Justify design decisions - why did you choose those colours/fonts/layout?
  5. Suggest improvements - what would you do differently or add next?

Evaluation against the brief - Sweet Delights example

Client requirementMet?Evidence
Homepage with image banner✅ YesHero section with full-width banner image
Product gallery (4+ categories)✅ YesBreads, Cakes, Cookies, Seasonal pages
Blog section✅ Yesblog.html with 3 sample posts
Review section✅ YesTestimonials section on homepage
Contact form with map✅ Yescontact.html with form and embedded Google Map
Warm brown/cream/pink colour scheme✅ YesMatches brand guidelines from brief
Handwritten heading font✅ YesPacifico font from Google Fonts

Writing a strong evaluation

Weak: "I think the website looks good and meets the requirements."

Strong: "The colour scheme successfully reflects Sweet Delights' brand identity - the warm brown (#6B3F2A) used for headings and navigation directly matches the brief's requirement for 'warm browns'. The pastel pink (#F4A7B9) accent colour is applied consistently to all call-to-action buttons, meeting the consistency design principle. However, the loading time on the Products page scores 78/100 on Lighthouse due to uncompressed JPEG images. In a future iteration I would convert these to WebP format to improve performance."


W3C Validation

Validate all HTML and CSS files:

  1. Go to validator.w3.org
  2. Paste your HTML or upload your file
  3. Fix any errors shown
  4. Include a screenshot of the "No errors" result as evidence

Summary

TermMeaning
Functional testingTesting that all features work as expected
Browser compatibilityTesting that the site works correctly in multiple browsers
Responsive testingTesting that the layout adapts correctly to different screen sizes
Test tableA structured record of what was tested, expected/actual results, and pass/fail
EvaluationA written reflection measuring the finished site against the original brief
LighthouseGoogle tool (F12) that audits performance, accessibility, best practices and SEO


Test Yourself

Question 1 of 5

What is the purpose of a test table in website development?

Ad

PassMaven - revision made simple.