100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Web Programming: Testing and Deployment Lecture Notes £5.56
Add to cart

Lecture notes

Web Programming: Testing and Deployment Lecture Notes

 1 view  0 purchase

Lecture Notes about how to test an application through Python and Django's unit testing, including Selenium as a library. It then highlights the steps on how to prepare a Web application for deployment and the general guidelines to do so. It has a summary section on the left side of the page, foll...

[Show more]

Preview 2 out of 8  pages

  • January 5, 2025
  • 8
  • 2024/2025
  • Lecture notes
  • Paulo oliva
  • All classes
All documents for this subject (10)
avatar-seller
ileniamaiettabusiness
8️⃣
Testing and Deployment
SUMMARY MAIN NOTES
When testing you test Contents
for: Testing
Unit Testing
Functionality
Django django.test
Usability SimpleTestCase
TransactionTestCase
Interface
TestCase
Compatibility Deploying Web Apps
Steps
Performance
Environment Variables
Security Set Up
Web Server Gateway Interface (WSGI)
Cron Jobs
Unit testing is Period Jobs
testing a specific Sending Emails
feature for a Internationalisation and Localisation

particular
behaviour or
assumption
Testing
You test for:
Automation allows
for tests to be Functionality: does it do what it is meant to do?
rerun after making Usability: is it easy and friendly to use?
changes
Interface: does it communicate well with other
Python has a systems?
unittest
Compatibility: does it work on all browsers and
module
devices?
Django has a
django.test Performance: good response time in adverse
scenarios?
module, and




Testing and Deployment 1

, can also use Security: is app data secure, and users
Selenium protected?

Deployment is
installing a web Unit Testing
application on a
server, can be Testing a specific feature of your
static or dynamic application for a particular behaviour
Cron jobs are or assumption
regular, scheduled
jobs used to Automation of unit tests allows for tests to be
backup data rerun once application has been modified
regularly, send (continuous testing)
emails, update DB, Runs in memory so it doesn’t change your
etc. database

Precedes integration (interface) testing



‼️ Python has a unittest module to run unit
tests
Django has a django.test module to run
tests, which extends the Python unittest




Testing and Deployment 2

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller ileniamaiettabusiness. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for £5.56. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

48756 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy revision notes and other study material for 15 years now

Start selling
£5.56
  • (0)
Add to cart
Added