New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-stargazer

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-stargazer

Stargazer Control System

  • 0.0.42
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-70%
Maintainers
1
Weekly downloads
 
Created
Source

Stargazer 🔭

Stargazer is a tool for manual testing UI regressions in a React Native/Expo app. It records screenshots of app screens and displays these in a browser UI for side-by-side comparison.

Development

Run the following commands to setup the project in your environment:

git clone https://github.com/tenx-tech/stargazer.git
npm run setup

To run the project tests, run the command npm test.

Project Structure

This tool is organized into three subprojects: app, client, and server. Here's what the each do:

  • App: React components to provide the automation to drive the app and record screenshots of each screen.
  • Client: UI browser output to visualize the recorded screenshots.
  • Server: Server to handle uploading and saving screenshot data.

Usage

To use this tool in your app first install it with npm install --save react-native-stargazer. Then, follow these steps:

  1. Configure a routes object which contains all the screens you want to generate screenshots for.
  2. Provide this routes object to the Stargazer app component exported from react-native-stargazer, along with a stargazerServerUrl and initialRouteName prop.
  3. Run the Stargazer server with the command npm run stargazer:server.
  4. Run your app with Expo, using your local development setup.
  5. Once the app launches, start the Stargazer tool.
  6. Once the screen uploads are finished, stop the Expo and Stargazer servers.
  7. Run the command npm run stargazer:build to build the UI browser output.
  8. You should now have a folder in your project source repo: stargazer-ui. This contains the bundled browser UI app. You can preview it with the command npm run stargazer:run, or deploy it to host for your team or organization.

Keywords

FAQs

Package last updated on 24 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc