In the Christian West...
In the Christian West, both ecclesiastical and civil law debarred women from giving testimony until late last century[^3]. If a man accuses his wife of unchastity, her testimony will not be considered at all according to the Bible. The accused wife has to be subjected to a trial by ordeal.
In this trial, the wife faces a complex and humiliating ritual which was supposed to prove her guilt or innocence: The LORD said to Moses, "Speak to the Israelites and tell them: If a man's wife goes astray and becomes unfaithful to him by having intercourse with another man, though her husband has not sufficient evidence of the fact, so that her impurity remains unproved for lack of a witness who might have caught her in the act; or if a man is overcome by a feeling of jealousy that makes him suspect his wife, whether she was actually impure or not: he shall bring his wife to the priest and shall take along as an offering for her a tenth of an ephah of barley meal.
However, he shall not pour oil on it nor put frankincense over it, since it is a cereal offering of jealousy, a cereal offering for an appeal in a question of guilt. "The priest shall first have the woman come forward and stand before the LORD. In an earthen vessel he shall meanwhile put some holy water, as well as some dust that he has taken from the floor of the Dwelling.
Then, as the woman stands before the LORD, the priest shall uncover her head and place in her hands the cereal offering of her appeal, that is, the cereal offering of jealousy, while he himself shall hold the bitter water that brings a curse. Then he shall adjure the woman, saying to her, 'If no other man has had intercourse with you, and you have not gone astray by impurity while under the authority of your husband, be immune to the curse brought by this bitter water.
But if you have gone astray while under the authority of your husband and have acted impurely by letting a man other than your husband have intercourse with you'-- so shall the priest adjure the woman with this oath of imprecation--'may the LORD make you an example of malediction and imprecation among your people by causing your thighs to waste away and your belly to swell!