npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@arkxos/choerodon-testmanager

v2.0.2

Published

Downloads

8

Readme

测试管理服务

Test Manager Service 是猪齿鱼核心服务之一 ,该服务是Choerodon微服务框架的测试管理中心。它的主要功能包括测试用例管理、测试循环、测试报表分析、自动化测试等。

特点

  • 测试用例(创建、查看和编辑测试用例、测试用例树、excel导入和导出等)
  • 测试计划(创建测试循环、测试阶段以及批量克隆循环等)
  • 测试执行(执行测试、搜索执行、记录步骤结果、查看执行测试详情、删除执行)
  • 自定义状态(状态列表,创建状态)
  • 自动化测试(自动化模板包括:mochatestNGselenium,编写测试内容,执行自动化测试,查看测试结果)
  • 设置(自定义状态)

依赖

服务配置

  • application.yml
spring:
  datasource:
    url: jdbc:mysql://localhost:3306/test_manager_service?useUnicode=true&characterEncoding=utf-8&useSSL=false&useInformationSchema=true&remarks=true
    username: choerodon
    password: 123456
  aop:
    auto: true
  http:
    encoding:
      charset: UTF-8
      force: true
      enabled: true
  redis:
    host: localhost
    port: 6379
  servlet:
    multipart:
      max-file-size: 30MB
      max-request-size: 30MB
choerodon:
  saga:
    consumer:
      enabled: true # 是否启用消费端
      thread-num: 5  # 消费线程数
      max-poll-size: 200 # 每次拉取的最大消息数量
      poll-interval-ms: 1000 # 拉取消息的间隔(毫秒),默认1000毫秒
  schedule:
    consumer:
      enabled: true # 启用任务调度消费端
      thread-num: 1 # 任务调度消费线程数
      poll-interval-ms: 1000 # 拉取间隔,默认1000毫秒
eureka:
  instance:
    preferIpAddress: true
    leaseRenewalIntervalInSeconds: 1
    leaseExpirationDurationInSeconds: 3
  client:
    serviceUrl:
      defaultZone: http://localhost:8000/eureka/
    registryFetchIntervalSeconds: 1
mybatis:
  mapperLocations: classpath*:/mapper/*.xml
  configuration:
    mapUnderscoreToCamelCase: true
feign:
  hystrix:
    shareSecurityContext: true
    command:
      default:
        execution:
          isolation:
            thread:
              timeoutInMilliseconds: 30000
ribbon:
  ConnectTimeout: 5000
  ReadTimeout: 5000
logging:
  level:
    root: info
    io.choerodon.test.manager: debug
  • bootstrap.yml
server:
  port: 8093
spring:
  application:
    name: test-manager-service
  cloud:
    config:
      failFast: true
      retry:
        maxAttempts: 6
        multiplier: 1.5
        maxInterval: 2000
      uri: localhost:8010
      enabled: false
  mvc:
    static-path-pattern: /**
  resources:
    static-locations: classpath:/static,classpath:/public,classpath:/resources,classpath:/META-INF/resources,file:/dist
management:
  server:
    port: 8094
  endpoints:
    web:
      exposure:
        include: '*'
  endpoint:
    health:
      show-details: "ALWAYS"

安装和启动步骤

 git clone https://code.choerodon.com.cn/choerodon-agile/test-manager-service.git
  • 初始化数据库,本地创建 test-manager-service 数据表,代码如下:

    CREATE USER 'choerodon'@'%' IDENTIFIED BY "123456";
    CREATE DATABASE test_manager_service DEFAULT CHARACTER SET utf8;
    GRANT ALL PRIVILEGES ON test_manager_service.* TO choerodon@'%';
    FLUSH PRIVILEGES;
  • 初始化 test-manager-service 数据表数据,运行项目根目录下的 init-local-database.sh,该脚本默认初始化数据库的地址为 localhost,若有变更需要修改脚本文件

    sh init-local-database.sh
  • 启动项目,项目根目录下运行 mvn clean spring-boot:run 命令,或者在本地集成环境中运行 SpringBoot 启动类 /src/main/java/io/choerodon/buzz/TestManagerServiceApplication.java

报告问题

如果你发现任何缺陷或者bugs,请在issue上面描述并提交给我们。

贡献

我们十分欢迎您的参与! Follow 去获得更多关于提交贡献的信息。