logo
  • 教程列表
  • SO官方文檔
  • 辦公室
    • 建立新專案
    • 建立專案
    • 執行測試
    • 釋出箱子
    • 將貨物連線到 Crates.io 帳戶
    • Hello World 節目
  1. StackOverflow 文件
  2. Rust 教程
  3. 辦公室
  4. 執行測試

執行測試

Created: November-22, 2018

基本用法

cargo test

顯示程式輸出

cargo test -- --nocapture

執行具體示例

cargo test test_name
  • 釋出箱子
  • 建立專案

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明