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.

Clean up activities

See original GitHub issue

One issue I’ve run into using test-butler with Espresso testing, is that activities don’t get cleaned up. I’ve had to adopt code like this to make sure activity.finish(); gets called after tests run.

  • Is cleaning up activities beyond the scope of test butler?
  • How does linkedin deal with retrying failed tests if there’s no way to close the activities from a failed run?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
drewhannaycommented, Jan 27, 2017

@bootstraponline Here’s a gist of what we use for closing activities

The custom test harness is harder to show off, since it’s a lot of code. It’s fairly similar to Shazam’s Fork runner. I’d love to open source it someday, but right now it has too many dependencies on internal things and we haven’t had the time / resources to refactor and extract the right parts.

0reactions
bootstraponlinecommented, Jan 27, 2017

Thanks! It’s working really well with our internal tests. The changes will be in the next open source sync.

edit: fixed link

Read more comments on GitHub >

github_iconTop Results From Across the Web

15 Cleaning Activities and Games for Preschoolers
Clean -Up Activity Ideas · 1. How Fast Can We Do It? · 2. Help Children · 3. A Countdown Timer · 4....
Read more >
8 Games to Teach Kids How to Clean Up - Lingokids
8 Games to Teach Kids How to Clean Up ; Cleaning Up the House. Freeze Dance Clean Up ; 🛏️ Bedroom Clean Up....
Read more >
Keep It Clean! Quick Ideas for Clean-Up Activities
Role-play during cleanup is fun for younger children. Invite them to act out their roles as busy bees, robot maids, trash-collection trucks, hauling...
Read more >
5 Clean Up Games for Kids | Inspiration Laboratories
Clean Up Game #1: Make It a Race · Clean Up Game #2: Go on a Scavenger Hunt for Toys · Clean Up...
Read more >
5 FUN CLEAN-UP ACTIVITIES FOR KIDS
5 FUN CLEAN-UP ACTIVITIES FOR KIDS · 1. Musical Tidy-Up · 2. Timed challenge · 3. Five Minute Blast-Off · 4. Reverse scavenger...
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