GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 1script/tests at develop · xDrivenDevelopment/1script

Expand file tree

/

tests

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

tests

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
binarydata.os
binarydata.os
 
 
engine-behaviors.os
engine-behaviors.os
 
 
example-test.os
example-test.os
 
 
file-object.os
file-object.os
 
 
formatting.os
formatting.os
 
 
global-funcs.os
global-funcs.os
 
 
global-new.os
global-new.os
 
 
http.os
http.os
 
 
process.os
process.os
 
 
random.os
random.os
 
 
readme.md
readme.md
 
 
reflector.os
reflector.os
 
 
socket.os
socket.os
 
 
start-all.cmd
start-all.cmd
 
 
start.cmd
start.cmd
 
 
sysinfo.os
sysinfo.os
 
 
testrunner.os
testrunner.os
 
 
tests-cmd-line.os
tests-cmd-line.os
 
 
text-write.os
text-write.os
 
 
types.os
types.os
 
 
values-test.os
values-test.os
 
 
valuetable.os
valuetable.os
 
 
xmlread.os
xmlread.os
 
 
xmlwrite.os
xmlwrite.os
 
 
zip.os
zip.os
 
 

readme.md

Запуск тестов OneScript из командной строки

Страница Организация тестирования

Формат тестов совместим с форматом тестов проекта https://github.com/xDrivenDevelopment/xUnitFor1C/wiki

Пример файла теста:

Перем юТест;

Функция ПолучитьСписокТестов(ЮнитТестирование) Экспорт
	
	юТест = ЮнитТестирование;
	
	ВсеТесты = Новый Массив;
	
	ВсеТесты.Добавить("ТестДолжен_ПроверитьВерсию");
	
	Возврат ВсеТесты;
КонецФункции

Процедура ТестДолжен_ПроверитьВерсию() Экспорт
	юТест.ПроверитьРавенство("0.1", Версия(), "Версия()");
КонецПроцедуры

Функция Версия() Экспорт
	Возврат "0.1";
КонецФункции
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.