question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add unit-tests for googleMapsApiModule.py

See original GitHub issue

Requirement

Add unit tests for googleMapsApiModule.py

Pre-requisite

Intermediate knowledge of Python

Dependencies

None

Description

Unit tests provide confidence whether the individual components are working as intended or not; and help in catching bugs that we may not be able to manually find out. We’ll need to add tests for each function/module using a testing library like pytest

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
vishakha-lallcommented, Mar 19, 2020

If you’re using pytest please collect all tests in a single class as defined here

1reaction
vishakha-lallcommented, Mar 18, 2020

@adityabisoi What is the status on this issue? Are you stuck anywhere? When do you think you’d be ready to raise a PR?

Read more comments on GitHub >

github_iconTop Results From Across the Web

unittest — Unit testing framework
A test fixture represents the preparation needed to perform one or more tests, and any associated cleanup actions. This may involve, for example,...
Read more >
How To Add Unit Testing to Your Django Project
In Django, the preferred way to write tests is to use the Python unittest module, although it is possible to use other testing...
Read more >
Getting Started With Testing in Python
In this in-depth tutorial, you'll see how to create Python unit tests, execute them, and find the bugs before your users do. You'll...
Read more >
How To Write Unit Tests For Existing Python Code // Part 1 of 2
Get my FREE 7-step guide to help you consistently design great software: https://arjancodes.com/designguide.In this video, I show you a ...
Read more >
How to Write Unit Tests for Python Functions
This guide will teach you how to write unit tests for Python functions. But why should you consider writing unit tests at all?...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found