0% found this document useful (0 votes)
54 views1 page

29_PDFsam_matlab_prog

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views1 page

29_PDFsam_matlab_prog

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Check Files In and Out from MSSCCI Source Control . . . . . . . . . .

33-49
Check Files Into Source Control . . . . . . . . . . . . . . . . . . . . . . . . . . 33-49
Check Files Out of Source Control . . . . . . . . . . . . . . . . . . . . . . . . 33-49
Undoing the Checkout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33-50

Additional MSSCCI Source Control Actions . . . . . . . . . . . . . . . . . . 33-51


Getting the Latest Version of Files for Viewing or Compiling . . . . . 33-51
Removing Files from the Source Control System . . . . . . . . . . . . . . 33-52
Showing File History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33-52
Comparing the Working Copy of a File to the Latest Version in Source
Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33-53
Viewing Source Control Properties of a File . . . . . . . . . . . . . . . . . 33-54
Starting the Source Control System . . . . . . . . . . . . . . . . . . . . . . . 33-55

Access MSSCCI Source Control from Editors . . . . . . . . . . . . . . . . . 33-57

Troubleshoot MSSCCI Source Control Problems . . . . . . . . . . . . . . 33-58


Source Control Error: Provider Not Present or Not Installed Properly
................................................ 33-58
Restriction Against @ Character . . . . . . . . . . . . . . . . . . . . . . . . . . 33-59
Add to Source Control Is the Only Action Available . . . . . . . . . . . . 33-59
More Solutions for Source Control Problems . . . . . . . . . . . . . . . . 33-59

Unit Testing
34
Write Test Using Live Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-3

Write Script-Based Unit Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-6

Write Script-Based Test Using Local Functions . . . . . . . . . . . . . . . 34-11

Extend Script-Based Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-14


Test Suite Creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-14
Test Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-14
Programmatic Access of Test Diagnostics . . . . . . . . . . . . . . . . . . . 34-15
Test Runner Customization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-15

Run Tests in Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-17

Write Function-Based Unit Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-20


Create Test Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-20
Run the Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-22
Analyze the Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-23

Write Simple Test Case Using Functions . . . . . . . . . . . . . . . . . . . . . 34-24

Write Test Using Setup and Teardown Functions . . . . . . . . . . . . . . 34-27

Extend Function-Based Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-32


Fixtures for Setup and Teardown Code . . . . . . . . . . . . . . . . . . . . . 34-32
Test Logging and Verbosity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-33

xxix

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy